From 1e0eca0bcbfc338a585842c65c4b48d62d79728d Mon Sep 17 00:00:00 2001 From: Mel Date: Sat, 26 Oct 2024 17:44:36 +0200 Subject: Glued together corsac configuration Signed-off-by: Mel --- modules/nix.nix | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 modules/nix.nix (limited to 'modules/nix.nix') diff --git a/modules/nix.nix b/modules/nix.nix new file mode 100644 index 0000000..d98f64d --- /dev/null +++ b/modules/nix.nix @@ -0,0 +1,16 @@ +{ self, ... }: + +{ + nix = { + # add compat scripts to the environment, + # to allow nixos-option to find the configuration + nixPath = [ + "nixpkgs=${self}/compat" + "nixos-config=${self}/compat/nixos" + ]; + + settings = { + experimental-features = [ "flakes" "nix-command" ]; + }; + }; +} -- cgit 1.4.1