diff options
Diffstat (limited to 'hosts/turing.nix')
| -rwxr-xr-x | hosts/turing.nix | 9 |
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; }; }; } |
