mirror of
https://github.com/nmasur/dotfiles
synced 2025-07-06 16:40:14 +00:00
initial refactoring
This commit is contained in:
@ -0,0 +1,20 @@
|
||||
{
|
||||
config,
|
||||
lib,
|
||||
...
|
||||
}:
|
||||
|
||||
let
|
||||
cfg = config.nmasur.presets.services.nix-daemon;
|
||||
in
|
||||
|
||||
{
|
||||
|
||||
options.nmasur.presets.services.nix-daemon.enable = lib.mkEnableOption "Nix daemon";
|
||||
|
||||
config = lib.mkIf cfg.enable {
|
||||
|
||||
nix.gc.dates = "09:03"; # Run every morning (but before upgrade)
|
||||
|
||||
};
|
||||
}
|
Reference in New Issue
Block a user