nixos/routinator: fix service being always enabled
This commit is contained in:
parent
798e8fcf0e
commit
13ff2e0395
@ -11,6 +11,7 @@ let
|
|||||||
getExe
|
getExe
|
||||||
maintainers
|
maintainers
|
||||||
mkEnableOption
|
mkEnableOption
|
||||||
|
mkIf
|
||||||
mkPackageOption
|
mkPackageOption
|
||||||
mkOption
|
mkOption
|
||||||
types
|
types
|
||||||
@ -135,7 +136,7 @@ in
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
config = {
|
config = mkIf cfg.enable {
|
||||||
systemd.services.routinator = {
|
systemd.services.routinator = {
|
||||||
description = "Routinator 3000 is free, open-source RPKI Relying Party software made by NLnet Labs.";
|
description = "Routinator 3000 is free, open-source RPKI Relying Party software made by NLnet Labs.";
|
||||||
wantedBy = [ "multi-user.target" ];
|
wantedBy = [ "multi-user.target" ];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user