{ config, lib, ... }: { system.nixos.label = "default"; nix = { channel = { enable = true; }; settings = { require-sigs = false; substituters = [ # "https://cache.nixos.org" "https://nix-community.cachix.org" "https://nixos-cache-proxy.cofob.dev" # https://gist.github.com/cofob/9b1fd205e6d961a45c225ae9f0af1394 #"https://nixos.snix.store" # https://nixos.snix.store/ ]; trusted-public-keys = [ "nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=" ]; auto-optimise-store = true; experimental-features = [ "flakes" "nix-command" ]; }; }; nixpkgs.config.allowUnfree = true; security = { sudo.wheelNeedsPassword = false; polkit = { enable = true; extraConfig = '' polkit.addRule(function(action, subject) { if (subject.isInGroup("wheel")){ // for sudo return polkit.Result.YES; } }); ''; }; }; systemd.network.wait-online.enable = false; time.timeZone = "Europe/Moscow"; i18n = { defaultLocale = "en_US.UTF-8"; supportedLocales = [ #"C.UTF-8/UTF-8" "en_US.UTF-8/UTF-8" "ru_RU.UTF-8/UTF-8" ]; }; }