refactor(home:options): move modules/options -> ../options
This commit is contained in:
parent
1ac90d7985
commit
7755141752
26 changed files with 1 additions and 70 deletions
23
home/options/profiles/console.nix
Normal file
23
home/options/profiles/console.nix
Normal 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;
|
||||
};
|
||||
};
|
||||
}
|
||||
51
home/options/profiles/desktop.nix
Normal file
51
home/options/profiles/desktop.nix
Normal 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 = [ ];
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue