-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathoptions.nix
executable file
·51 lines (50 loc) · 1.39 KB
/
options.nix
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
{lib, ...}: {
options = with lib; {
wallsDir = mkOption {
type = types.str;
default = "";
};
theme = mkOption {
type = lib.types.nullOr lib.types.str;
default = null;
};
modules = {
firefox.enable = mkEnableOption "Enable firefox";
mpd.enable = mkEnableOption "Enable mpd";
rofi.enable = mkEnableOption "Enable rofi";
spicetify.enable = mkEnableOption "Enable spicetify";
discord.enable = mkEnableOption "Enable discord";
nvidia.enable = mkEnableOption "Enable nvidia specific patches";
};
default = {
de = mkOption {
type = types.enum ["hyprland" "plasma" "none"];
default = "none";
};
bar = mkOption {
type = types.enum ["waybar" "hyprpanel" "astal" "none"];
default = "none";
};
browser = mkOption {
type = types.enum ["firefox" "zen" "none"];
default = "none";
};
terminal = mkOption {
type = types.enum ["wezterm" "foot" "kitty" "alacritty" "none"];
default = "kitty";
};
lock = mkOption {
type = types.enum ["hyprlock" "none"];
default = "none";
};
prompt = mkOption {
type = types.enum ["starship" "oh-my-posh"];
default = "starship";
};
shell = mkOption {
type = types.enum ["zsh" "fish" "nu"];
default = "zsh";
};
};
};
}