From a6030f6cdd44cf86eb1ce25aea516e4ba31d4df4 Mon Sep 17 00:00:00 2001 From: oqyude Date: Wed, 11 Feb 2026 13:22:17 +0300 Subject: [PATCH] 123 --- modules/essentials/settings.nix | 20 ++++++++++++++++---- 1 file changed, 16 insertions(+), 4 deletions(-) diff --git a/modules/essentials/settings.nix b/modules/essentials/settings.nix index e07eab9..9e4fe4e 100644 --- a/modules/essentials/settings.nix +++ b/modules/essentials/settings.nix @@ -10,16 +10,19 @@ channel = { enable = true; }; + # nixPath = [ "nixpkgs=flake:nixpkgs" ]; settings = { require-sigs = false; substituters = [ "https://cache.nixos.org" "https://nix-community.cachix.org" "https://mirror.yandex.ru/nixos" + "https://cache.nixos.kz" + "https://cache.xd0.zip" + "https://nixos-cache-proxy.cofob.dev" # "https://nixos-cache-proxy.sweetdogs.ru" - # "https://nixos-cache-proxy.cofob.dev" # https://gist.github.com/cofob/9b1fd205e6d961a45c225ae9f0af1394 # "https://nixos-cache-proxy.elxreno.com" - #"https://nixos.snix.store" # https://nixos.snix.store/ + # "https://nixos.snix.store" # https://nixos.snix.store/ ]; trusted-public-keys = [ "nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=" @@ -27,6 +30,10 @@ stalled-download-timeout = 4; connect-timeout = 4; auto-optimise-store = true; + # fallback = true; + # allow-import-from-derivation = false; + # keep-derivations = true; + # keep-outputs = true; experimental-features = [ "flakes" "nix-command" @@ -34,7 +41,13 @@ }; }; - nixpkgs.config.allowUnfree = true; + nixpkgs = { + # flake = { + # setFlakeRegistry = false; + # setNixPath = false; + # }; + config.allowUnfree = true; + }; security = { sudo.wheelNeedsPassword = false; @@ -55,7 +68,6 @@ i18n = { defaultLocale = "en_US.UTF-8"; supportedLocales = [ - #"C.UTF-8/UTF-8" "en_US.UTF-8/UTF-8" "ru_RU.UTF-8/UTF-8" ];