modules/arduino: disable module by default

This commit is contained in:
Hendrik Sokolowski 2023-10-06 00:14:50 +02:00
parent dbef702ac3
commit ae934b4bde

View file

@ -9,7 +9,10 @@ with lib; let
cfg = config.pub-solar.devops; cfg = config.pub-solar.devops;
in { in {
options.pub-solar.arduino = { options.pub-solar.arduino = {
enable = mkEnableOption "Life with home automation"; enable = mkOption {
description = "Life with home automation";
default = false;
};
}; };
config = mkIf cfg.enable { config = mkIf cfg.enable {
users.users = pkgs.lib.setAttrByPath [psCfg.user.name] { users.users = pkgs.lib.setAttrByPath [psCfg.user.name] {