diff options
Diffstat (limited to 'machines/darwin/aarch64-darwin/HQ-KWNY2VH41P.nix')
| -rw-r--r-- | machines/darwin/aarch64-darwin/HQ-KWNY2VH41P.nix | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/machines/darwin/aarch64-darwin/HQ-KWNY2VH41P.nix b/machines/darwin/aarch64-darwin/HQ-KWNY2VH41P.nix new file mode 100644 index 0000000..19dbeb2 --- /dev/null +++ b/machines/darwin/aarch64-darwin/HQ-KWNY2VH41P.nix @@ -0,0 +1,37 @@ +{ + adminUser, + pkgs, + ... +}: +{ + imports = [ + ../../../profiles/darwin.nix + ]; + + users = { + users.${adminUser.name} = { + home = "/Users/${adminUser.name}"; + }; + }; + + environment.shells = [ pkgs.fish ]; + + programs.fish.shellInit = '' + # Nix + if test -e '/nix/var/nix/profiles/default/etc/profile.d/nix-daemon.fish' + source '/nix/var/nix/profiles/default/etc/profile.d/nix-daemon.fish' + end + # End Nix + ''; + + home-manager.users.${adminUser.name} = { + home.stateVersion = "23.05"; + home.username = "${adminUser.name}"; + home.homeDirectory = "/Users/${adminUser.name}"; + imports = [ + ../../../home/profiles/mac.nix + ../../../home/profiles/work.nix + ]; + inherit (adminUser) userinfo; + }; +} |
