mirror of
https://github.com/zoriya/home-manager.git
synced 2026-06-04 19:16:34 +00:00
systemd: accept derivations as values for systemd options (#3974)
This commit is contained in:
+1
-1
@@ -51,7 +51,7 @@ let
|
||||
|
||||
unitType = unitKind:
|
||||
with types;
|
||||
let primitive = either bool (either int str);
|
||||
let primitive = oneOf [ bool int str path ];
|
||||
in attrsOf (attrsOf (attrsOf (either primitive (listOf primitive)))) // {
|
||||
description = "systemd ${unitKind} unit configuration";
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user