2024-09-09 00:22:14 +00:00
|
|
|
{
|
2024-09-13 01:50:53 +00:00
|
|
|
config,
|
|
|
|
lib,
|
|
|
|
...
|
|
|
|
}:
|
|
|
|
with lib; let
|
|
|
|
cfg = config.custom;
|
|
|
|
in {
|
2024-09-09 00:22:14 +00:00
|
|
|
options.custom = {
|
|
|
|
### Profiles
|
2024-09-13 01:50:53 +00:00
|
|
|
default = mkOption {default = true;};
|
|
|
|
full = mkOption {default = false;};
|
|
|
|
minimal = mkOption {default = cfg.full;};
|
|
|
|
profile = mkOption {};
|
2024-09-09 00:22:14 +00:00
|
|
|
|
|
|
|
### Users
|
2024-09-13 01:50:53 +00:00
|
|
|
domain = mkOption {default = "bjork.tech";};
|
|
|
|
hostname = mkOption {};
|
|
|
|
realname = mkOption {default = "Myned";};
|
|
|
|
username = mkOption {default = "myned";};
|
2024-11-17 20:14:42 +00:00
|
|
|
sync = mkOption {default = "/home/myned/SYNC";};
|
2024-09-09 00:22:14 +00:00
|
|
|
|
|
|
|
### Hardware
|
2024-09-13 01:50:53 +00:00
|
|
|
width = mkOption {default = 1920;};
|
|
|
|
height = mkOption {default = 1080;};
|
2024-11-06 17:37:37 +00:00
|
|
|
refresh = mkOption {default = 60;};
|
2024-09-13 01:50:53 +00:00
|
|
|
ultrawide = mkOption {default = cfg.width * 9 / 16 > cfg.height;}; # Wider than 16:9
|
|
|
|
hidpi = mkOption {default = cfg.scale > 1;};
|
|
|
|
scale = mkOption {default = 1;};
|
2024-09-09 00:22:14 +00:00
|
|
|
|
|
|
|
# TODO: Use option for border size
|
2024-09-13 01:50:53 +00:00
|
|
|
border = mkOption {default = 2;};
|
2024-09-09 00:22:14 +00:00
|
|
|
|
2024-10-06 15:45:50 +00:00
|
|
|
gap = mkOption {default = 5;};
|
|
|
|
padding = mkOption {default = 51;}; # ?? journalctl --user -u waybar.service | grep height:
|
2024-10-06 15:45:37 +00:00
|
|
|
rounding = mkOption {default = 10;};
|
2024-09-09 00:22:14 +00:00
|
|
|
|
|
|
|
### Misc
|
2024-09-13 01:50:53 +00:00
|
|
|
wallpaper = mkOption {default = false;};
|
2024-09-21 15:47:31 +00:00
|
|
|
|
|
|
|
font = {
|
|
|
|
emoji = mkOption {default = "Noto Color Emoji";};
|
|
|
|
monospace = mkOption {default = "Iosevka NFP SemiBold";};
|
2024-09-21 19:24:10 +00:00
|
|
|
sans-serif = mkOption {default = "Outfit";};
|
2024-09-21 15:47:31 +00:00
|
|
|
serif = mkOption {default = "Liberation Serif";};
|
|
|
|
};
|
2024-09-09 00:22:14 +00:00
|
|
|
};
|
|
|
|
}
|