modules/arduino: disable module by default
This commit is contained in:
parent
dbef702ac3
commit
ae934b4bde
|
@ -9,7 +9,10 @@ with lib; let
|
|||
cfg = config.pub-solar.devops;
|
||||
in {
|
||||
options.pub-solar.arduino = {
|
||||
enable = mkEnableOption "Life with home automation";
|
||||
enable = mkOption {
|
||||
description = "Life with home automation";
|
||||
default = false;
|
||||
};
|
||||
};
|
||||
config = mkIf cfg.enable {
|
||||
users.users = pkgs.lib.setAttrByPath [psCfg.user.name] {
|
||||
|
|
Loading…
Reference in a new issue