Added nix-helper to config

This commit is contained in:
2026-05-01 09:39:27 +01:00
parent 3906a51581
commit 647cb5c098
4 changed files with 10 additions and 6 deletions
+3
View File
@@ -17,5 +17,8 @@
unstablePkgs.lazygit
unstablePkgs.nixd
unstablePkgs.nushell
unstablePkgs.nh
unstablePkgs.nix-output-monitor
unstablePkgs.nvd
];
}
-1
View File
@@ -35,7 +35,6 @@ in {
pkgs.minikube
unstablePkgs.mission-center
pkgs.neovide
pkgs.nix-output-monitor
pkgs.nix-tree
pkgs.nh
pkgs.nodejs_24
+7
View File
@@ -9,4 +9,11 @@
imports = [
./programs/neovim.nix
];
programs.nh = {
enable = true;
clean.enable = true;
clean.extraArgs = "--keep-since 7d --keep 5";
flake = "/home/cianh/.config/nix";
};
}
-5
View File
@@ -106,11 +106,6 @@
nix = {
registry = (lib.mapAttrs (_: flake: {inherit flake;})) ((lib.filterAttrs (_: lib.isType "flake")) inputs);
nixPath = ["nixpkgs=${inputs.nixpkgs}"];
gc = {
automatic = true;
dates = "daily";
options = "--delete-older-than 14d";
};
settings = {
experimental-features = "nix-command flakes";
auto-optimise-store = true;