Set up nh as nixos module instead of simple program
This commit is contained in:
parent
6182e09a41
commit
290ad25224
2 changed files with 7 additions and 6 deletions
|
|
@ -62,8 +62,6 @@ let
|
|||
nixos-shell
|
||||
python3
|
||||
|
||||
nh
|
||||
|
||||
haskell.compiler.ghcHEAD
|
||||
dotnet-sdk_9
|
||||
netcoredbg
|
||||
|
|
@ -122,9 +120,12 @@ in
|
|||
"flakes"
|
||||
];
|
||||
nix.settings.auto-optimise-store = true;
|
||||
nix.gc = {
|
||||
automatic = true;
|
||||
options = "--delete-older-than 14d";
|
||||
|
||||
programs.nh = {
|
||||
enable = true;
|
||||
clean.enable = true;
|
||||
clean.extraArgs = "--keep-since 7d --keep 5";
|
||||
flake = "/home/esvagy/nixos";
|
||||
};
|
||||
|
||||
# Bootloader.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue