Adding nh

This commit is contained in:
Lyes Saadi 2025-07-09 12:56:04 +02:00
parent 6361cf5a1f
commit ef8d5a7e9e
Signed by: lyes
GPG key ID: 55A1D803917CF39A
3 changed files with 32 additions and 23 deletions

View file

@ -46,10 +46,19 @@
nix.optimise.automatic = true;
nix.gc = {
automatic = true;
dates = "weekly";
options = "--delete-older-than 30d";
# Switch to nh
# nix.gc = {
# automatic = true;
# dates = "weekly";
# options = "--delete-older-than 30d";
# };
programs.nh = {
enable = true;
clean = {
enable = true;
extraArgs = "--keep 5 --keep-since 15d";
};
flake = "/home/lyes/Documents/nixos";
};
# This value determines the NixOS release from which the default

View file

@ -15,13 +15,13 @@
man-pages
man-pages-posix
python3
any-nix-shell
cheat
# Nix
home-manager
nix-index
direnv
any-nix-shell
agenix.packages."${system}".default
age-plugin-yubikey
];