diff --git a/host/Impreza/configuration.nix b/host/Impreza/configuration.nix index 1b0b726..6a41404 100644 --- a/host/Impreza/configuration.nix +++ b/host/Impreza/configuration.nix @@ -21,6 +21,7 @@ }) ]; + nix.settings.cores = 3; nixpkgs.config.allowBroken = true; programs.gamemode.enable = true; hardware.bluetooth.enable = true; diff --git a/host/modules/common.nix b/host/modules/common.nix index 733fbc0..b6c05e6 100644 --- a/host/modules/common.nix +++ b/host/modules/common.nix @@ -11,10 +11,15 @@ }; config = { + nix.settings = { + keep-going = true; + extra-substituters = [ "https://nix.codrs.ru/main" ]; + extra-trusted-public-keys = [ "main:kpwMe+9BsGJ/IUb7i3iadaV38y5/Yuqoct0mf7wI9ds=" ]; + experimental-features = [ "nix-command" "flakes" ]; + }; networking.hostName = hostname; time.timeZone = lib.mkDefault "Europe/Moscow"; i18n.defaultLocale = lib.mkDefault "ru_RU.UTF-8"; - nix.settings.experimental-features = [ "nix-command" "flakes" ]; system.stateVersion = "23.05"; }; } \ No newline at end of file