diff --git a/configs/sputnik/configuration.nix b/configs/sputnik/configuration.nix index 8362320..46da400 100644 --- a/configs/sputnik/configuration.nix +++ b/configs/sputnik/configuration.nix @@ -13,6 +13,13 @@ ]; + nix = { + package = pkgs.nixUnstable; + extraOptions = '' + experimental-features = nix-command flakes + ''; + }; + networking.hostName = "sputnik"; networking.useDHCP = true; diff --git a/system/all/default.nix b/system/all/default.nix index 5150961..0fc5a49 100644 --- a/system/all/default.nix +++ b/system/all/default.nix @@ -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 # -------------------