summaryrefslogtreecommitdiff
path: root/util/user.nix
diff options
context:
space:
mode:
Diffstat (limited to 'util/user.nix')
-rw-r--r--util/user.nix8
1 files changed, 8 insertions, 0 deletions
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;
}
]