refactor(home:options): move modules/options -> ../options

This commit is contained in:
ooks-io 2024-06-10 13:25:14 +12:00
parent 1ac90d7985
commit 7755141752
26 changed files with 1 additions and 70 deletions

View file

@ -0,0 +1,23 @@
{ lib, ... }:
let
inherit (lib) mkOption types;
inherit (types) nullOr enum;
in
{
options.ooknet.console = {
editor = mkOption {
type = nullOr (enum ["helix" "nvim"]);
default = "helix";
};
multiplexer = mkOption {
type = nullOr (enum ["tmux" "zellij"]);
default = null;
};
fileManager = mkOption {
type = nullOr (enum ["yazi" "ranger" "lf"]);
default = null;
};
};
}

View file

@ -0,0 +1,51 @@
{ lib, ... }:
let
inherit (lib) mkOption types;
inherit (types) enum nullOr listOf;
in
{
options.ooknet.desktop = {
environment = mkOption {
type = nullOr (enum [ "hyprland" ]);
default = "hyprland";
};
browser = mkOption {
type = nullOr (enum [ "firefox" "brave" ]);
default = null;
};
terminal = mkOption {
type = nullOr (enum [ "foot" "kitty" "wezterm" ]);
default = "foot";
};
fileManager = mkOption {
type = nullOr (enum [ "nemo" ]);
default = null;
};
notes = mkOption {
type = nullOr (enum [ "obsidian" ]);
default = null;
};
pdf = mkOption {
type = nullOr (enum [ "zathura" ]);
default = null;
};
discord = mkOption {
type = nullOr (enum [ "vesktop" ]);
default = null;
};
suites = mkOption {
type = listOf (enum [ "gaming" "tools" "media" "creative" ]);
default = [ ];
};
};
}