reajustes no codigo

This commit is contained in:
2026-05-10 16:37:42 -03:00
parent 1d1e886b62
commit 0211c5e3e5
8 changed files with 213 additions and 221 deletions
+17 -9
View File
@@ -37,24 +37,32 @@
max-jobs = "auto";
auto-optimise-store = true;
extra-sandbox-paths = [ "/var/cache/ccache" ];
## Ativaçao flakes
flake-registry = "";
experimental-features = [
"nix-command"
"flakes"
];
## cache
substituters = [
"https://cache.garnix.io"
"https://niri.cachix.org/" # niri
];
trusted-public-keys = [
"cache.garnix.io:CTFPyKSLcx5RMJKfLo5EEPUObbA78b0YQ2DTCJXqr9g="
"niri.cachix.org-1:Wv0OmO7PsuocRKzfDoJ3mulSl7Z6oezYhGhR+3W2964=" # niri
];
};
## Lix
package = pkgs.lixPackageSets.latest.lix;
## ativaçao do flakes
settings.experimental-features = [
"nix-command"
"flakes"
];
nixPath = lib.mapAttrsToList (key: _: "${key}=flake:${key}") config.nix.registry;
registry = lib.mapAttrs (_: value: { flake = value; }) (
lib.filterAttrs (_: value: lib.isType "flake" value) inputs
);
settings.flake-registry = "";
settings.substituters = [ "https://cache.garnix.io" ];
settings.trusted-public-keys = [ "cache.garnix.io:CTFPyKSLcx5RMJKfLo5EEPUObbA78b0YQ2DTCJXqr9g=" ];
};
# chaotic
+1
View File
@@ -6,6 +6,7 @@
...
}:
{
imports = [ inputs.preload-ng.nixosModules.default ];
## Variaveis de ambiente contendo o aumento de cache para placas da nvidia
environment.variables = {