This commit is contained in:
2026-01-27 17:09:01 -03:00
parent 53e016dd20
commit 531181a46b
2 changed files with 8 additions and 11 deletions
+1
View File
@@ -25,6 +25,7 @@
security.rtkit.enable = true; security.rtkit.enable = true;
## Configuraçao de idioma ## Configuraçao de idioma
## Definir fuso horário ## Definir fuso horário
time.timeZone = "America/Bahia"; time.timeZone = "America/Bahia";
## Configurações de idioma e localidade ## Configurações de idioma e localidade
+6 -10
View File
@@ -23,29 +23,25 @@
ccache.cacheDir = "/var/cache/ccache"; ccache.cacheDir = "/var/cache/ccache";
}; };
## Configuração do gerenciador nix
nix.package = pkgs.lixPackageSets.latest.lix;
#nix.package = inputs.nixpkgs-master.legacyPackages.${pkgs.system}.lix;
nix = { nix = {
settings = { settings = {
cores = 0; cores = 0;
max-jobs = "auto"; max-jobs = "auto";
auto-optimise-store = true; auto-optimise-store = true;
extra-sandbox-paths = [ "/var/cache/ccache" ]; extra-sandbox-paths = [ "/var/cache/ccache" ];
## cache kernel
substituters = [ "https://attic.xuyh0120.win/lantian" ];
trusted-public-keys = [ "lantian:EeAUQ+W+6r7EtwnmYjeVwx5kOGEBpjlBfPlzGlTNvHc=" ];
};
## Lix
package = pkgs.lixPackageSets.latest.lix;
## ativaçao do flakes ## ativaçao do flakes
settings.experimental-features = ["nix-command" "flakes"]; settings.experimental-features = ["nix-command" "flakes"];
nixPath = lib.mapAttrsToList (key: _: "${key}=flake:${key}") config.nix.registry; nixPath = lib.mapAttrsToList (key: _: "${key}=flake:${key}") config.nix.registry;
registry = lib.mapAttrs (_: value: {flake = value;}) (lib.filterAttrs (_: value: lib.isType "flake" value) inputs); registry = lib.mapAttrs (_: value: {flake = value;}) (lib.filterAttrs (_: value: lib.isType "flake" value) inputs);
settings.flake-registry = ""; settings.flake-registry = "";
## cache kernel
substituters = [ "https://attic.xuyh0120.win/lantian" ];
trusted-public-keys = [ "lantian:EeAUQ+W+6r7EtwnmYjeVwx5kOGEBpjlBfPlzGlTNvHc=" ];
};
}; };
services = { services = {