mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-21 05:00:16 +00:00
cjdns service: use cfg.enable shortcut
This commit is contained in:
parent
79d216b8f4
commit
afe67f28a3
|
@ -201,7 +201,7 @@ in
|
|||
|
||||
};
|
||||
|
||||
config = mkIf config.services.cjdns.enable {
|
||||
config = mkIf cfg.enable {
|
||||
|
||||
boot.kernelModules = [ "tun" ];
|
||||
|
||||
|
|
Loading…
Reference in a new issue