From e8df8c4ee9582df715b37afea98f10749b68b1d3 Mon Sep 17 00:00:00 2001 From: lassulus Date: Wed, 9 Oct 2019 19:56:36 +0200 Subject: l autowifi: enable only if enable is set --- lass/3modules/autowifi.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lass/3modules') 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" ]; -- cgit v1.2.3