update rotina

This commit is contained in:
DarkGui
2025-11-13 18:00:56 -03:00
parent e9820aef72
commit 35450b4490
13 changed files with 157 additions and 83 deletions
+7 -7
View File
@@ -1,11 +1,11 @@
{ config, lib, inputs, pkgs, ... }: {
## Ativar recursos experimentais do Nix, como flakes
nix.settings.experimental-features = ["nix-command" "flakes"];
nix = {
## ativar flakes
settings.experimental-features = ["nix-command" "flakes"];
## chaotic-nix
nix.nixPath = lib.mapAttrsToList (key: _: "${key}=flake:${key}") config.nix.registry;
nix.registry = lib.mapAttrs (_: value: {flake = value;}) (lib.filterAttrs (_: value: lib.isType "flake" value) inputs);
nix.settings.flake-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);
settings.flake-registry = "";
};
}