diff options
| author | Grace Yoder <grace_yoder@outlook.com> | 2026-09-15 17:26:29 -0400 |
|---|---|---|
| committer | Grace Yoder <grace_yoder@outlook.com> | 2026-09-24 18:35:50 -0400 |
| commit | ddf0c7981fbeaa6a45591a66132a330c804259ec (patch) | |
| tree | 9d412090a97c86644d1b76b9071c0be09fc55885 /hosts/turing.nix | |
| parent | 0ee22f5e42fa655ac70d400d2c24b3dc73e3ee47 (diff) | |
hx and vcs changes
Diffstat (limited to 'hosts/turing.nix')
| -rwxr-xr-x | hosts/turing.nix | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/hosts/turing.nix b/hosts/turing.nix new file mode 100755 index 0000000..d03bd22 --- /dev/null +++ b/hosts/turing.nix @@ -0,0 +1,28 @@ +{ config, ... }: + +let + home-manager = builtins.fetchTarball + "https://github.com/nix-community/home-manager/archive/master.tar.gz"; +in +{ + nix.settings.experimental-features = [ + "nix-command" + "flakes" + ]; + + imports = [ + ./darwin.nix + "${home-manager}/nix-darwin" + ]; + + home-manager = { + useGlobalPkgs = true; + useUserPackages = true; + backupFileExtension = "backup"; + users.${config.system.primaryUser} = { + imports = [ ./home.nix ]; + home.username = config.system.primaryUser; + home.homeDirectory = "/Users/${config.system.primaryUser}"; + }; + }; +} |
