sops changes, and things I cannot remember

This commit is contained in:
cnst
2024-08-09 13:41:41 +02:00
parent dde8787238
commit fe5ce74c33
36 changed files with 895 additions and 217 deletions

View File

@@ -16,7 +16,6 @@
pkgs.git
pkgs.scx
pkgs.stow
pkgs.age
];
localBinInPath = true;
};
@@ -24,6 +23,7 @@
console.useXkbConfig = true;
nix = {
package = pkgs.lix;
# pin the registry to avoid downloading and evaling a new nixpkgs version every time
registry = lib.mapAttrs (_: v: {flake = v;}) inputs;
@@ -37,11 +37,17 @@
experimental-features = ["nix-command" "flakes"];
flake-registry = "/etc/nix/registry.json";
# for direnv GC roots
keep-derivations = true;
keep-outputs = true;
# # for direnv GC roots
# keep-derivations = true;
# keep-outputs = true;
trusted-users = ["root" "@wheel"];
};
gc = {
automatic = true;
dates = "weekly";
# Keep the last 3 generations
options = "--delete-older-than +3";
};
};
}

View File

@@ -3,9 +3,11 @@
programs = {
nh = {
enable = true;
clean.enable = true;
clean.extraArgs = "--keep-since 4d --keep 3";
flake = "/home/cnst/.nix-config";
# clean = {
# enable = true;
# extraArgs = "--keep-since 4d --keep 3";
# };
};
};
}