services: auto-enable dependencies

This commit is contained in:
Erik Arvstedt
2020-10-19 14:55:59 +02:00
parent 06cba7b519
commit 67e49fe415
12 changed files with 28 additions and 37 deletions
+1 -5
View File
@@ -38,11 +38,7 @@ in {
warnings = [''
The lightning-charge module is deprecated and will be removed soon.
''];
assertions = [
{ assertion = config.services.clightning.enable;
message = "lightning-charge requires clightning.";
}
];
services.clightning.enable = true;
users.users.lightning-charge = {
description = "lightning-charge User";