Move folder and add Obsidian options

This commit is contained in:
Laurent Gueret
2026-01-30 19:47:01 +01:00
parent bc921319d9
commit 33cc5a5c18
6 changed files with 42 additions and 7 deletions
+19
View File
@@ -0,0 +1,19 @@
{ lib, config, ... }:
with lib;
let
cfg = config.os.shell.nh;
in
{
options.os.shell.nh = {
enable = mkEnableOption "System nh service";
};
config = mkIf cfg.enable {
programs.nh = {
enable = true;
clean.enable = true;
clean.extraArgs = "--keep-since 2d --keep 3";
};
};
}