Skip to content

Commit 9525c09

Browse files
authored
nixos/routinator: fix service being always enabled (#384068)
2 parents 5470513 + 13ff2e0 commit 9525c09

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

nixos/modules/services/networking/routinator.nix

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ let
1111
getExe
1212
maintainers
1313
mkEnableOption
14+
mkIf
1415
mkPackageOption
1516
mkOption
1617
types
@@ -135,7 +136,7 @@ in
135136
};
136137
};
137138

138-
config = {
139+
config = mkIf cfg.enable {
139140
systemd.services.routinator = {
140141
description = "Routinator 3000 is free, open-source RPKI Relying Party software made by NLnet Labs.";
141142
wantedBy = [ "multi-user.target" ];

0 commit comments

Comments
 (0)