diff options
| author | seth <[email protected]> | 2023-02-20 15:57:39 -0500 |
|---|---|---|
| committer | seth <[email protected]> | 2023-02-20 15:57:39 -0500 |
| commit | 3288bb384a2b52c036b6ccac76918191fa5e3350 (patch) | |
| tree | 286010512d8657b6aaf17cb4d5584aec480f08a8 /util | |
| parent | 5ec16f1a062317605bd064f6aa7f943795a9db5c (diff) | |
cleaning up my ~
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; } ] |
