summaryrefslogtreecommitdiff
path: root/util/host.nix
diff options
context:
space:
mode:
Diffstat (limited to 'util/host.nix')
-rw-r--r--util/host.nix6
1 files changed, 3 insertions, 3 deletions
diff --git a/util/host.nix b/util/host.nix
index 637f0f3..c1dc5dd 100644
--- a/util/host.nix
+++ b/util/host.nix
@@ -5,8 +5,8 @@
system ? "x86_64-linux",
version ? "22.11",
pkgs,
- }:
- with pkgs.lib;
+ }: {
+ ${name} = with pkgs.lib;
nixosSystem {
inherit system;
modules =
@@ -22,7 +22,6 @@
# Enable nix flakes
nix.package = pkgs.nixFlakes;
- nix.settings.experimental-features = ["nix-command" "flakes"];
})
home-manager.nixosModules.home-manager
@@ -33,4 +32,5 @@
]
++ modules;
};
+ };
}