diff options
author | lassulus <lassulus@lassul.us> | 2019-10-09 19:56:36 +0200 |
---|---|---|
committer | lassulus <lassulus@lassul.us> | 2019-10-09 19:56:36 +0200 |
commit | e8df8c4ee9582df715b37afea98f10749b68b1d3 (patch) | |
tree | 284df0ce612b67bb0e7686585bb5efed4921c349 | |
parent | 5e798c623d361f8ce661846cf12d1d01a63b3def (diff) |
l autowifi: enable only if enable is set
-rw-r--r-- | lass/3modules/autowifi.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lass/3modules/autowifi.nix b/lass/3modules/autowifi.nix index 930d99727..b84569df8 100644 --- a/lass/3modules/autowifi.nix +++ b/lass/3modules/autowifi.nix @@ -13,7 +13,7 @@ in { }; }; - config = { + config = lib.mkIf cfg.enable { systemd.services.autowifi = { description = "Automatic wifi connector"; wantedBy = [ "multi-user.target" ]; |