Signed-off-by: Harald Hoyer <harald@hoyer.xyz>
This commit is contained in:
Harald Hoyer 2024-11-19 10:31:29 +01:00
parent a3187e163d
commit 900f95169f
83 changed files with 1134 additions and 705 deletions

View file

@ -1,11 +1,13 @@
{ options
, config
, pkgs
, lib
, ...
{
options,
config,
pkgs,
lib,
...
}:
with lib;
with lib.metacfg; let
with lib.metacfg;
let
cfg = config.metacfg.nix;
in
{
@ -24,7 +26,10 @@ in
nix =
let
users = [ "root" config.metacfg.user.name ];
users = [
"root"
config.metacfg.user.name
];
in
{
package = cfg.package;
@ -60,7 +65,9 @@ in
gc = {
automatic = true;
interval = { Day = 7; };
interval = {
Day = 7;
};
options = "--delete-older-than 30d";
user = config.metacfg.user.name;
};