Remove nix-helper

This commit is contained in:
SebastianStork 2024-03-23 12:42:54 +01:00
parent 978733f40c
commit 9541e99a78
9 changed files with 6 additions and 70 deletions

View file

@ -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";
};
};
}

View file

@ -15,7 +15,6 @@
./dm.nix
./sound.nix
./boot-loader.nix
./nix-helper.nix
./printing.nix
];
}

View file

@ -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;
};
}