summary refs log tree commit diff
path: root/modules/nix.nix
blob: d98f64d99e991741d2b3530195a50b190efa9b85 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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" ];
    };
  };
}