This commit is contained in:
2026-02-11 13:22:17 +03:00
parent 181468182a
commit a6030f6cdd
+15 -3
View File
@@ -10,14 +10,17 @@
channel = { channel = {
enable = true; enable = true;
}; };
# nixPath = [ "nixpkgs=flake:nixpkgs" ];
settings = { settings = {
require-sigs = false; require-sigs = false;
substituters = [ substituters = [
"https://cache.nixos.org" "https://cache.nixos.org"
"https://nix-community.cachix.org" "https://nix-community.cachix.org"
"https://mirror.yandex.ru/nixos" "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.sweetdogs.ru"
# "https://nixos-cache-proxy.cofob.dev" # https://gist.github.com/cofob/9b1fd205e6d961a45c225ae9f0af1394
# "https://nixos-cache-proxy.elxreno.com" # "https://nixos-cache-proxy.elxreno.com"
# "https://nixos.snix.store" # https://nixos.snix.store/ # "https://nixos.snix.store" # https://nixos.snix.store/
]; ];
@@ -27,6 +30,10 @@
stalled-download-timeout = 4; stalled-download-timeout = 4;
connect-timeout = 4; connect-timeout = 4;
auto-optimise-store = true; auto-optimise-store = true;
# fallback = true;
# allow-import-from-derivation = false;
# keep-derivations = true;
# keep-outputs = true;
experimental-features = [ experimental-features = [
"flakes" "flakes"
"nix-command" "nix-command"
@@ -34,7 +41,13 @@
}; };
}; };
nixpkgs.config.allowUnfree = true; nixpkgs = {
# flake = {
# setFlakeRegistry = false;
# setNixPath = false;
# };
config.allowUnfree = true;
};
security = { security = {
sudo.wheelNeedsPassword = false; sudo.wheelNeedsPassword = false;
@@ -55,7 +68,6 @@
i18n = { i18n = {
defaultLocale = "en_US.UTF-8"; defaultLocale = "en_US.UTF-8";
supportedLocales = [ supportedLocales = [
#"C.UTF-8/UTF-8"
"en_US.UTF-8/UTF-8" "en_US.UTF-8/UTF-8"
"ru_RU.UTF-8/UTF-8" "ru_RU.UTF-8/UTF-8"
]; ];