-
Notifications
You must be signed in to change notification settings - Fork 64
Expand file tree
/
Copy pathconfig.nix
More file actions
87 lines (86 loc) · 2.78 KB
/
config.nix
File metadata and controls
87 lines (86 loc) · 2.78 KB
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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
lib: {
omarchyOptions = {
full_name = lib.mkOption {
type = lib.types.str;
description = "Main user's full name";
};
email_address = lib.mkOption {
type = lib.types.str;
description = "Main user's email address";
};
theme = lib.mkOption {
type = lib.types.either (lib.types.enum [
"tokyo-night"
"kanagawa"
"everforest"
"catppuccin"
"nord"
"gruvbox"
"gruvbox-light"
"generated_light"
"generated_dark"
]) lib.types.str;
default = "tokyo-night";
description = "Theme to use for Omarchy configuration";
};
theme_overrides = lib.mkOption {
type = lib.types.submodule {
options = {
wallpaper_path = lib.mkOption {
type = lib.types.nullOr lib.types.path;
default = null;
description = "Path to the wallpaper image to extract colors from";
};
};
};
default = { };
description = "Theme overrides including wallpaper path for generated themes";
};
primary_font = lib.mkOption {
type = lib.types.str;
default = "Liberation Sans 11";
};
vscode_settings = lib.mkOption {
type = lib.types.attrs;
default = { };
};
monitors = lib.mkOption {
type = lib.types.listOf lib.types.str;
default = [ ];
};
scale = lib.mkOption {
type = lib.types.int;
default = 2;
description = "Display scale factor (1 for 1x displays, 2 for 2x displays)";
};
quick_app_bindings = lib.mkOption {
type = lib.types.listOf lib.types.str;
description = "A list of single keystroke key bindings to launch common apps.";
default = [
"SUPER, A, exec, $webapp=https://chatgpt.com"
"SUPER SHIFT, A, exec, $webapp=https://grok.com"
"SUPER, C, exec, $webapp=https://app.hey.com/calendar/weeks/"
"SUPER, E, exec, $webapp=https://app.hey.com"
"SUPER, Y, exec, $webapp=https://youtube.com/"
"SUPER SHIFT, G, exec, $webapp=https://web.whatsapp.com/"
"SUPER, X, exec, $webapp=https://x.com/"
"SUPER SHIFT, X, exec, $webapp=https://x.com/compose/post"
"SUPER, return, exec, $terminal"
"SUPER, F, exec, $fileManager"
"SUPER, B, exec, $browser"
"SUPER, M, exec, $music"
"SUPER, N, exec, $terminal -e nvim"
"SUPER, T, exec, $terminal -e btop"
"SUPER, D, exec, $terminal -e lazydocker"
"SUPER, G, exec, $messenger"
"SUPER, O, exec, obsidian -disable-gpu"
"SUPER, slash, exec, $passwordManager"
];
};
exclude_packages = lib.mkOption {
type = lib.types.listOf lib.types.package;
default = [ ];
description = "Packages to exclude from the default system packages";
};
};
}