diff options
| author | Collin Williams <96917990+bluedragon1221@users.noreply.github.com> | 2025-06-09 19:43:34 +0000 |
|---|---|---|
| committer | Collin Williams <96917990+bluedragon1221@users.noreply.github.com> | 2025-06-09 19:43:34 +0000 |
| commit | f3b7a6a33588ad425de02c4b841df19f30733e44 (patch) | |
| tree | ab6a8524350fda5868bf3f43187affbdb0895ce6 /modules/terminal/options.nix | |
| parent | a45c4551712c1ba5cb82eaf290f311ab0e8690e4 (diff) | |
reorganize programs, move functions to library, and remove the rest of hyprland (all sway now)
Diffstat (limited to 'modules/terminal/options.nix')
| -rw-r--r-- | modules/terminal/options.nix | 14 |
1 files changed, 2 insertions, 12 deletions
diff --git a/modules/terminal/options.nix b/modules/terminal/options.nix index b728f99..41d1ded 100644 --- a/modules/terminal/options.nix +++ b/modules/terminal/options.nix @@ -2,21 +2,11 @@ pkgs, config, lib, + my-lib, ... }: let inherit (lib) mkOption mkEnableOption types; - - mkProgramOption' = name: extraOpts: - { - enable = mkEnableOption "whether to enable ${name}"; - theme = mkOption { - type = types.enum ["catppuccin" "adwaita"]; - default = config.collinux.terminal.theme; - }; - } - // extraOpts; - - mkProgramOption = name: mkProgramOption' name {}; + inherit (my-lib.options {inherit lib config;}) mkProgramOption' mkProgramOption; in { options = { collinux.terminal = { |
