diff options
Diffstat (limited to 'util')
| -rw-r--r-- | util/host.nix | 6 | ||||
| -rw-r--r-- | util/user.nix | 8 |
2 files changed, 12 insertions, 2 deletions
diff --git a/util/host.nix b/util/host.nix index a008566..baedf73 100644 --- a/util/host.nix +++ b/util/host.nix @@ -23,8 +23,10 @@ nixpkgs.config.allowUnfree = true; # Enable nix flakes - nix.package = pkgs.nixFlakes; - nix.settings.experimental-features = [ "nix-command" "flakes" ]; + nix = { + package = pkgs.nixFlakes; + settings.experimental-features = [ "nix-command" "flakes" ]; + }; }) home-manager.nixosModules.home-manager diff --git a/util/user.nix b/util/user.nix index eb12e16..f392eb1 100644 --- a/util/user.nix +++ b/util/user.nix @@ -14,11 +14,19 @@ ../users/${username}/home.nix { nixpkgs.config.allowUnfree = true; + + nix = { + package = channel.legacyPackages.${system}.nixFlakes; + settings.experimental-features = [ "nix-command" "flakes" ]; + }; + systemd.user.startServices = true; + home = { inherit username stateVersion; homeDirectory = "/home/${username}"; }; + programs.home-manager.enable = true; } ] |
