krebs.systemd: allow LoadCredential to be a string
This commit is contained in:
parent
f7ab46c2ec
commit
234d9d96bf
@ -31,7 +31,8 @@
|
|||||||
lib.types.absolute-pathname.check
|
lib.types.absolute-pathname.check
|
||||||
(map
|
(map
|
||||||
(lib.compose [ lib.maybeHead (lib.match "[^:]*:(.*)") ])
|
(lib.compose [ lib.maybeHead (lib.match "[^:]*:(.*)") ])
|
||||||
config.systemd.services.${serviceName}.serviceConfig.LoadCredential);
|
(lib.toList
|
||||||
|
config.systemd.services.${serviceName}.serviceConfig.LoadCredential));
|
||||||
}
|
}
|
||||||
) config.krebs.systemd.services;
|
) config.krebs.systemd.services;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user