flake workaround for sputnik
This commit is contained in:
parent
7bf28cb123
commit
569f2b4a29
2 changed files with 9 additions and 1 deletions
|
@ -13,6 +13,13 @@
|
||||||
|
|
||||||
];
|
];
|
||||||
|
|
||||||
|
nix = {
|
||||||
|
package = pkgs.nixUnstable;
|
||||||
|
extraOptions = ''
|
||||||
|
experimental-features = nix-command flakes
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
|
||||||
networking.hostName = "sputnik";
|
networking.hostName = "sputnik";
|
||||||
networking.useDHCP = true;
|
networking.useDHCP = true;
|
||||||
|
|
||||||
|
|
|
@ -63,7 +63,8 @@
|
||||||
|
|
||||||
# rewire NIX_PATH
|
# 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
|
# Shell configuration
|
||||||
# -------------------
|
# -------------------
|
||||||
|
|
Loading…
Reference in a new issue