l autowifi: enable only if enable is set

This commit is contained in:
lassulus 2019-10-09 19:56:36 +02:00
parent 5e798c623d
commit e8df8c4ee9

View File

@ -13,7 +13,7 @@ in {
};
};
config = {
config = lib.mkIf cfg.enable {
systemd.services.autowifi = {
description = "Automatic wifi connector";
wantedBy = [ "multi-user.target" ];