diff --git a/flake.nix b/flake.nix index 9c7a14e..fc8f4d0 100644 --- a/flake.nix +++ b/flake.nix @@ -3,18 +3,16 @@ nixConfig = { extra-substituters = [ + "https://nix.codrs.ru/main" "https://nix-community.cachix.org" - # "https://cache.garnix.io" "https://hyprland.cachix.org" "https://ezkea.cachix.org" - "https://risdeveau.cachix.org" ]; extra-trusted-public-keys = [ + "main:kpwMe+9BsGJ/IUb7i3iadaV38y5/Yuqoct0mf7wI9ds=" "nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=" - # "cache.garnix.io:CTFPyKSLcx5RMJKfLo5EEPUObbA78b0YQ2DTCJXqr9g=" "hyprland.cachix.org-1:a7pgxzMz7+chwVL3/pzj6jIBMioiJM7ypFP8PwtkuGc=" "ezkea.cachix.org-1:ioBmUbJTZIKsHmWWXPe1FSFbeVe+afhfgqgTSNd34eI=" - "risdeveau.cachix.org-1:TsoFSVeLl7iKtUYGX7qsvKPjf2vbNLfLC5v3SAdU8r0=" ]; }; diff --git a/host/Impreza/configuration.nix b/host/Impreza/configuration.nix index 2d7389f..ac3d4af 100644 --- a/host/Impreza/configuration.nix +++ b/host/Impreza/configuration.nix @@ -24,6 +24,7 @@ in { }) ]; + 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