dotfiles/modules/desktop/default.nix

56 lines
1.2 KiB
Nix
Raw Normal View History

2022-05-04 01:11:31 +00:00
{ lib, ... }: {
2022-04-30 16:32:00 +00:00
2022-05-04 01:11:31 +00:00
imports = [
./xorg.nix
./fonts.nix
./i3.nix
./polybar.nix
./picom.nix
# ./dmenu.nix
./rofi.nix
];
options = with lib; {
gui = {
enable = mkEnableOption {
description = "Enable graphics";
default = false;
};
compositor.enable = mkEnableOption {
description = "Enable transparency, blur, shadows";
default = false;
};
launcherCommand = mkOption {
type = types.str;
description = "Command to use for launching";
};
toggleBarCommand = lib.mkOption {
type = lib.types.str;
description = "Command to hide and show the status bar.";
};
2022-05-14 21:36:38 +00:00
gtk.theme = {
name = mkOption {
type = types.str;
description = "Theme name for GTK applications";
};
package = mkOption {
type = types.str;
description = "Theme package name for GTK applications";
2022-05-15 00:29:03 +00:00
default = "gnome-themes-extra";
2022-05-14 21:36:38 +00:00
};
};
colorscheme = mkOption {
type = types.attrs;
description = "Base16 color scheme";
};
wallpaper = mkOption {
type = types.path;
description = "Wallpaper background image file";
};
2022-05-04 01:11:31 +00:00
};
2022-05-04 01:11:31 +00:00
};
2022-04-30 16:32:00 +00:00
}