aboutsummaryrefslogtreecommitdiff
path: root/machines/mbp-work.nix
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--machines/mbp-work.nix16
1 files changed, 6 insertions, 10 deletions
diff --git a/machines/mbp-work.nix b/machines/mbp-work.nix
index 8050987..b0541ac 100644
--- a/machines/mbp-work.nix
+++ b/machines/mbp-work.nix
@@ -1,26 +1,22 @@
-{ pkgs, ... }:
+{ adminUser, pkgs, ... }:
{
imports = [
../profiles/darwin.nix
../profiles/home-manager.nix
+ ../profiles/users/home-manager.nix
];
- users.users.fcuny = {
- home = "/Users/fcuny";
+ users.users.${adminUser.name} = {
+ home = "/Users/${adminUser.name}";
shell = pkgs.fish;
};
- home-manager.users.fcuny = {
+ home-manager.users.${adminUser.name} = {
home.stateVersion = "23.05";
- home.username = "fcuny";
- home.homeDirectory = "/Users/fcuny";
+ home.homeDirectory = "/Users/${adminUser.name}";
imports = [
../home/profiles/mac.nix
../home/profiles/work.nix
];
- userinfo = {
- email = "fcuny@roblox.com";
- fullName = "Franck Cuny";
- };
};
}