working on harmonia

This commit is contained in:
Qyriad 2026-02-10 14:59:44 +01:00
parent 1f466b63d3
commit 8dba8e7ce8
20 changed files with 556 additions and 90 deletions

View file

@ -65,7 +65,7 @@ in
};
unitDropins = mkOption {
type = t.attrsOf t.pathInStore;
type = t.attrsOf t.package;
internal = true;
};
@ -82,7 +82,7 @@ in
text = let
doEdits = config.unitDropins
|> lib.mapAttrsToList (service: dropin: ''
cat "${dropin}" | systemctl edit "${service}" --runtime --stdin
cat "${dropin}" | systemctl edit "${service}" --runtime --drop=dynix-${dropin.name} --stdin
'');
doReloads = config.unitDropins
|> lib.mapAttrsToList (service: _: ''