diff options
Diffstat (limited to 'modules/nix.nix')
| -rw-r--r-- | modules/nix.nix | 16 |
1 files changed, 16 insertions, 0 deletions
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" ]; + }; + }; +} |
