Adding nh
This commit is contained in:
parent
6361cf5a1f
commit
ef8d5a7e9e
3 changed files with 32 additions and 23 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue