about summary refs log tree commit diff
path: root/modules/nixos/kde.nix
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--modules/nixos/kde.nix21
1 files changed, 19 insertions, 2 deletions
diff --git a/modules/nixos/kde.nix b/modules/nixos/kde.nix
index 58990f1..3822415 100644
--- a/modules/nixos/kde.nix
+++ b/modules/nixos/kde.nix
@@ -18,12 +18,29 @@ in {
     };
 
     hm = {
-      home.sessionVariables.GTK_USE_PORTAL = 1;
-
       programs.firefox.profiles.default.settings = {
         "widget.use-xdg-desktop-portal.file-picker" = 1;
         "widget.use-xdg-desktop-portal.mime-handler" = 1;
       };
+
+      gtk.theme = {
+        package = mkForce pkgs.breeze-gtk;
+        name = mkForce "Breeze";
+      };
+
+      xdg.configFile = {
+        "fontconfig/conf.d/10-hm-fonts.conf".force = mkForce true;
+        "mimeapps.list".force = mkForce true;
+        "kcminputrc".text = generators.toINI {} {
+          Keyboard = with config.services.xserver; {
+            RepeatDelay = autoRepeatDelay;
+            RepeatRate = autoRepeatInterval;
+          };
+        };
+        "baloofilerc".text = generators.toINI {} {
+          "Basic Settings"."Indexing-Enabled" = false;
+        };
+      };
     };
 
     services.xserver = {

Consider giving Nix/NixOS a try! <3