-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathdefault.nix
77 lines (72 loc) · 1.51 KB
/
default.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
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
{
config,
lib,
pkgs,
...
}: let
inherit (lib) mkEnableOption mkOption types;
cfg = config.omakix;
in {
imports = [
./alacritty.nix
./git.nix
./gnome.nix
./mise.nix
./nixvim.nix
./other-programs.nix
./readline.nix
./shell.nix
./typora.nix
./ulauncher.nix
./vscode.nix
./zellij.nix
];
options.omakix = {
enable = mkEnableOption ''
Enable an Omakase developer setup with Home Manager.
'';
theme = lib.mkOption {
type = types.enum [
"catppuccin"
"everforest"
"gruvbox"
"kanagawa"
"nord"
"rose-pine"
"tokyo-night"
];
default = "tokyo-night";
description = "Choose your theme.";
example = "catppuccin";
};
font = lib.mkOption {
type = types.enum [
"cascadia-mono"
"fira-mono"
"jetbrains-mono"
"meslo"
];
default = "cascadia-mono";
description = "Choose your programming font.";
example = "fira-mono";
};
doubleScale = lib.mkOption {
type = types.bool;
default = false;
description = ''
Enable to assume a 200% display scale for an arguably better look on the Framework 13 laptop display.
'';
example = true;
};
browser = lib.mkOption {
type = types.enum [
"chromium"
"firefox"
"google-chrome"
];
default = "google-chrome";
description = "Choose your web browser.";
example = "firefox";
};
};
}