summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlassulus <lassulus@lassul.us>2019-10-09 19:56:36 +0200
committerlassulus <lassulus@lassul.us>2019-10-09 19:56:36 +0200
commite8df8c4ee9582df715b37afea98f10749b68b1d3 (patch)
tree284df0ce612b67bb0e7686585bb5efed4921c349
parent5e798c623d361f8ce661846cf12d1d01a63b3def (diff)
l autowifi: enable only if enable is set
-rw-r--r--lass/3modules/autowifi.nix2
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" ];