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
|
|
@ -1 +1 @@
|
||||||
Nixos label fixing regex, fixes #10
|
Set up nh as nixos module instead of simple program
|
||||||
|
|
|
||||||
|
|
@ -62,8 +62,6 @@ let
|
||||||
nixos-shell
|
nixos-shell
|
||||||
python3
|
python3
|
||||||
|
|
||||||
nh
|
|
||||||
|
|
||||||
haskell.compiler.ghcHEAD
|
haskell.compiler.ghcHEAD
|
||||||
dotnet-sdk_9
|
dotnet-sdk_9
|
||||||
netcoredbg
|
netcoredbg
|
||||||
|
|
@ -122,9 +120,12 @@ in
|
||||||
"flakes"
|
"flakes"
|
||||||
];
|
];
|
||||||
nix.settings.auto-optimise-store = true;
|
nix.settings.auto-optimise-store = true;
|
||||||
nix.gc = {
|
|
||||||
automatic = true;
|
programs.nh = {
|
||||||
options = "--delete-older-than 14d";
|
enable = true;
|
||||||
|
clean.enable = true;
|
||||||
|
clean.extraArgs = "--keep-since 7d --keep 5";
|
||||||
|
flake = "/home/esvagy/nixos";
|
||||||
};
|
};
|
||||||
|
|
||||||
# Bootloader.
|
# Bootloader.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue