oizys/modules/desktop/gui.nix

52 lines
960 B
Nix
Raw Normal View History

2024-01-23 11:51:13 -06:00
{
pkgs,
2024-01-28 16:40:33 -06:00
config,
lib,
2025-01-10 12:00:00 -06:00
enabled,
2024-01-23 11:51:13 -06:00
...
2024-05-06 14:32:00 -05:00
}:
let
2024-01-28 16:40:33 -06:00
inherit (lib) mkIf;
2024-05-06 14:32:00 -05:00
in
{
2024-03-21 10:53:27 -05:00
config = mkIf config.oizys.desktop.enable {
2025-01-10 12:00:00 -06:00
qt = enabled // {
platformTheme = "qt5ct";
# style = "kvantum";
};
# For some reason it's not linked unless I include this.
# Though it's possible if I enabled plasma than it would be.
environment.pathsToLink = ["/share/Kvantum"];
environment.systemPackages = with pkgs; [
(catppuccin-gtk.override {
accents = [ "pink" ];
variant = "mocha";
})
(catppuccin-kvantum.override {
variant = "mocha";
accent = "pink";
})
libsForQt5.qtstyleplugin-kvantum
libsForQt5.okular
libsForQt5.qt5ct
papirus-icon-theme
2025-01-10 15:19:51 -06:00
pcmanfm
2025-01-10 12:00:00 -06:00
alacritty # backup to ghostty
2024-01-23 11:51:13 -06:00
2024-07-25 09:57:26 -05:00
inkscape
gimp
2024-01-23 11:51:13 -06:00
2024-07-25 09:57:26 -05:00
zotero
2024-04-03 14:12:12 -05:00
2024-07-25 09:57:26 -05:00
libreoffice-qt
hunspell # spell check for libreoffice
2025-01-10 12:00:00 -06:00
];
2024-04-04 12:16:39 -05:00
2024-01-28 17:39:10 -06:00
};
2024-01-23 11:51:13 -06:00
}