summaryrefslogtreecommitdiff
path: root/hosts/turing.nix
diff options
context:
space:
mode:
authorGrace Yoder <grace_yoder@outlook.com>2026-10-03 14:54:12 -0400
committerGrace Yoder <grace_yoder@outlook.com>2026-10-05 15:08:18 -0400
commitfdde154c63eeb8e6aac5129f9226f38c4b0b8bf0 (patch)
treee34e1728e20886595bb7db4bd81939f3b694d755 /hosts/turing.nix
parent1f58bc3f3c9947c988567c8c16a853ff918f3e98 (diff)
hamano againvulcan
Diffstat (limited to 'hosts/turing.nix')
-rwxr-xr-xhosts/turing.nix9
1 files changed, 5 insertions, 4 deletions
diff --git a/hosts/turing.nix b/hosts/turing.nix
index c54c9ac..436b105 100755
--- a/hosts/turing.nix
+++ b/hosts/turing.nix
@@ -1,10 +1,11 @@
{ config, ... }:
let
- home-manager = builtins.fetchTarball
- "https://github.com/nix-community/home-manager/archive/master.tar.gz";
+
+ home-manager = builtins.fetchTarball "https://github.com/nix-community/home-manager/archive/master.tar.gz";
in
{
+ nixpkgs.config.allowUnfree = true;
nix.settings.experimental-features = [
"nix-command"
"flakes"
@@ -16,13 +17,13 @@ in
];
home-manager = {
- useGlobalPkgs = true;
+ useGlobalPkgs = false;
useUserPackages = true;
backupFileExtension = "backup";
users.${config.system.primaryUser} = {
imports = [ ../home.nix ];
home.username = config.system.primaryUser;
- home.homeDirectory = "/Users/${config.system.primaryUser}";
+ home.homeDirectory = config.users.users.${config.system.primaryUser}.home;
};
};
}