From 3288bb384a2b52c036b6ccac76918191fa5e3350 Mon Sep 17 00:00:00 2001 From: seth Date: Mon, 20 Feb 2023 15:57:39 -0500 Subject: cleaning up my ~ --- util/host.nix | 6 ++++-- util/user.nix | 8 ++++++++ 2 files changed, 12 insertions(+), 2 deletions(-) (limited to 'util') 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; } ] -- cgit v1.2.3