reajustes no codigo
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -6,6 +6,7 @@
|
||||
...
|
||||
}:
|
||||
{
|
||||
imports = [ inputs.preload-ng.nixosModules.default ];
|
||||
|
||||
## Variaveis de ambiente contendo o aumento de cache para placas da nvidia
|
||||
environment.variables = {
|
||||
|
||||
Reference in New Issue
Block a user