home(plasma): add plasma-manager

This commit is contained in:
514fpv 2024-05-13 08:55:58 +08:00
parent 326a94df87
commit 5522228390
Signed by: koishi
SSH key fingerprint: SHA256:axz0uIzzY+5W19i7QOUuiw5LSqhKfCBKPf3L4xFRxLw
4 changed files with 96 additions and 0 deletions

42
home/plasma/home.nix Normal file
View file

@ -0,0 +1,42 @@
{ pkgs
, lib
, config
, ... }: with lib; let
cfg = config.passthrough.plasma;
in mkIf cfg.enable {
programs.plasma = {
# https://github.com/pjones/plasma-manager
enable = true;
overrideConfig = true;
workspace = {
lookAndFeel = "org.kde.breezedark.desktop";
};
configFile = {
baloofilerc."Basic Settings"."Indexing-Enabled" = false;
};
} // cfg.extraConfig;
qt.enable = false;
qt.platformTheme.name = null;
# cursor theme
home.pointerCursor = {
package = pkgs.kdePackages.breeze;
name = "breeze_cursors";
size = 24;
};
# gtk theme
gtk.theme = {
package = pkgs.kdePackages.breeze-gtk;
name = "Breeze-Dark";
};
# gtk icons
gtk.iconTheme = {
package = pkgs.kdePackages.breeze-icons;
name = "breeze-dark";
};
}