summaryrefslogtreecommitdiff
path: root/nixos/hosts/box/box.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixos/hosts/box/box.nix')
-rw-r--r--nixos/hosts/box/box.nix21
1 files changed, 21 insertions, 0 deletions
diff --git a/nixos/hosts/box/box.nix b/nixos/hosts/box/box.nix
index 9365c4f..f47d55b 100644
--- a/nixos/hosts/box/box.nix
+++ b/nixos/hosts/box/box.nix
@@ -164,6 +164,7 @@
XCURSOR_THEME = "breeze_cursors";
XCURSOR_SIZE = "16";
QT_CURSOR_SIZE = "16";
+ QT_QPA_PLATFORMTHEME = "kde";
};
gtk = {
@@ -172,6 +173,26 @@
font = { name = "MonaspiceNe Nerd Font Mono"; size = 11; };
};
+ qt = {
+ enable = true;
+ platformTheme.name = "kde";
+ style.name = "breeze";
+ };
+
+ xdg.configFile = {
+ "dolphinrc".text = ''
+ [General]
+ ShowPreview=true
+ ViewMode=1
+
+ [MainWindow]
+ MenuBar=Disabled
+ ToolBarsMovable=Disabled
+ '';
+
+ "kdeglobals".source = "${pkgs.kdePackages.breeze}/share/color-schemes/BreezeDark.colors";
+ };
+
home.packages = [
(pkgs.writeShellScriptBin "cls" ''
[ -z "$1" ] && echo "usage: cls <image>" >&2 && exit 1