use namespace for my options
This commit is contained in:
parent
64fcba43f0
commit
1b1e7f792f
9 changed files with 49 additions and 50 deletions
|
|
@ -5,7 +5,7 @@
|
|||
...
|
||||
}: {
|
||||
options = {
|
||||
arduinoSetup = lib.mkOption {
|
||||
myModules.arduinoSetup = lib.mkOption {
|
||||
type = lib.types.bool;
|
||||
default = false;
|
||||
description = "Installs arduino-ide and adafruit-nrfutil and sets udev rules";
|
||||
|
|
@ -13,7 +13,7 @@
|
|||
};
|
||||
|
||||
config = lib.mkMerge [
|
||||
(lib.mkIf config.arduinoSetup {
|
||||
(lib.mkIf config.myModules.arduinoSetup {
|
||||
environment.systemPackages = with pkgs; [
|
||||
arduino-ide
|
||||
adafruit-nrfutil
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue