flake workaround for sputnik

This commit is contained in:
Ingolf Wagner 2021-10-05 22:42:33 +02:00
parent 7bf28cb123
commit 569f2b4a29
Signed by: palo
GPG key ID: 76BF5F1928B9618B
2 changed files with 9 additions and 1 deletions

View file

@ -13,6 +13,13 @@
];
nix = {
package = pkgs.nixUnstable;
extraOptions = ''
experimental-features = nix-command flakes
'';
};
networking.hostName = "sputnik";
networking.useDHCP = true;

View file

@ -63,7 +63,8 @@
# rewire NIX_PATH
# ---------------
environment.variables.NIX_PATH = lib.mkForce "/var/src";
#environment.variables.NIX_PATH = lib.mkForce "/var/src";
nix.nixPath = [ "nixpkgs=${pkgs.path}" ];
# Shell configuration
# -------------------