mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-01-21 19:51:34 +01:00
Remove nix-helper
This commit is contained in:
parent
978733f40c
commit
9541e99a78
9 changed files with 6 additions and 70 deletions
|
|
@ -6,12 +6,10 @@
|
|||
options.myConfig.auto-gc.enable = lib.mkEnableOption "";
|
||||
|
||||
config = lib.mkIf config.myConfig.auto-gc.enable {
|
||||
myConfig.nix-helper.enable = true;
|
||||
|
||||
nh.clean = {
|
||||
enable = true;
|
||||
nix.gc = {
|
||||
automatic = true;
|
||||
dates = "weekly";
|
||||
extraArgs = "--keep-since 7d --keep 10";
|
||||
options = "--delete-older-than 7d";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -15,7 +15,6 @@
|
|||
./dm.nix
|
||||
./sound.nix
|
||||
./boot-loader.nix
|
||||
./nix-helper.nix
|
||||
./printing.nix
|
||||
];
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,14 +0,0 @@
|
|||
{
|
||||
inputs,
|
||||
config,
|
||||
lib,
|
||||
...
|
||||
}: {
|
||||
imports = [inputs.nh.nixosModules.default];
|
||||
|
||||
options.myConfig.nix-helper.enable = lib.mkEnableOption "";
|
||||
|
||||
config = lib.mkIf config.myConfig.nix-helper.enable {
|
||||
nh.enable = true;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue