move nh and nvf modules to base-cli

This commit is contained in:
smayzy
2025-07-07 19:26:33 +02:00
parent bfc760d7c4
commit 2c5d8b19a6
3 changed files with 2 additions and 2 deletions
+20
View File
@@ -0,0 +1,20 @@
{ config, lib, pkgs, ...}:
let
inherit (lib) mkIf mkOption types;
in
{
options.smayzy.nh.enable = mkOption {
type = types.bool;
default = false;
description = "use nh";
};
config = mkIf config.smayzy.nh.enable {
programs.nh = {
enable = true;
clean.enable = true;
clean.extraArgs = "--keep 10";
flake = "/home/smayzy/nix-config";
};
};
}