diff options
Diffstat (limited to 'options.nix')
| -rw-r--r-- | options.nix | 45 |
1 files changed, 44 insertions, 1 deletions
diff --git a/options.nix b/options.nix index e423433..9a24dc5 100644 --- a/options.nix +++ b/options.nix @@ -7,9 +7,52 @@ with lib; let # monitor options monitorOpts = self: { options = { - name = mkOption { + port = mkOption { type = types.str; description = "Name of the monitor."; + default = ""; + }; + + desc = mkOption { + type = types.str; + description = "Description of the monitor"; + default = ""; + }; + + position = { + enabled = mkEnableOption { + description = "Enables hardcoded position of the monitor."; + }; + + x = mkOption { + type = types.int; + description = "The X position of the monitor."; + default = 0; + }; + + y = mkOption { + type = types.int; + description = "The Y position of the monitor."; + default = 0; + }; + }; + + size = { + enabled = mkEnableOption { + description = "Enables hardcoded size of the monitor."; + }; + + x = mkOption { + type = types.int; + description = "The X size of the monitor."; + default = 0; + }; + + y = mkOption { + type = types.int; + description = "The Y size of the monitor."; + default = 0; + }; }; scale = mkOption { |