diff options
| author | Freya Murphy <freya@freyacat.org> | 2025-11-30 20:44:07 -0500 |
|---|---|---|
| committer | Freya Murphy <freya@freyacat.org> | 2025-11-30 20:44:07 -0500 |
| commit | 634962812a1d33b5e846da831314794760aa232e (patch) | |
| tree | 60c2e90c065fe67a40d6de1aeba6e3921513011c /options.nix | |
| parent | update commits (diff) | |
| download | dotfiles-nix-634962812a1d33b5e846da831314794760aa232e.tar.gz dotfiles-nix-634962812a1d33b5e846da831314794760aa232e.tar.bz2 dotfiles-nix-634962812a1d33b5e846da831314794760aa232e.zip | |
Diffstat (limited to '')
| -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 { |