about summary refs log tree commit diff
path: root/modules/nixos
diff options
context:
space:
mode:
authorAzat Bahawi <azat@bahawi.net>2023-07-16 10:55:37 +0300
committerAzat Bahawi <azat@bahawi.net>2023-07-16 10:55:37 +0300
commitd5c760d9813d66de71786c6343afa8c4b1526696 (patch)
tree48aed217be6e0e75d705ffce691e7c9b9b3c7e95 /modules/nixos
parent2023-07-15 (diff)
2023-07-16
Diffstat (limited to '')
-rw-r--r--modules/nixos/common/services.nix2
-rw-r--r--modules/nixos/common/xdg.nix1
-rw-r--r--modules/nixos/kde.nix2
-rw-r--r--modules/nixos/profiles/headful.nix1
4 files changed, 4 insertions, 2 deletions
diff --git a/modules/nixos/common/services.nix b/modules/nixos/common/services.nix
index 725502a..c97e86a 100644
--- a/modules/nixos/common/services.nix
+++ b/modules/nixos/common/services.nix
@@ -6,5 +6,7 @@ _: {
 
     # https://github.com/NixOS/nixpkgs/issues/135888
     nscd.enableNsncd = true;
+
+    dbus.implementation = "broker";
   };
 }
diff --git a/modules/nixos/common/xdg.nix b/modules/nixos/common/xdg.nix
index d74bf82..fb762ab 100644
--- a/modules/nixos/common/xdg.nix
+++ b/modules/nixos/common/xdg.nix
@@ -17,7 +17,6 @@ with lib; {
 
   xdg.portal = mkIf this.isHeadful {
     enable = true;
-    xdgOpenUsePortal = true;
   };
 
   hm.xdg = mkMerge [
diff --git a/modules/nixos/kde.nix b/modules/nixos/kde.nix
index 05be874..17fcf03 100644
--- a/modules/nixos/kde.nix
+++ b/modules/nixos/kde.nix
@@ -17,7 +17,7 @@ in {
     };
 
     hm = {
-      # home.sessionVariables.GTK_USE_PORTAL = 1;
+      home.sessionVariables.GTK_USE_PORTAL = 1;
 
       programs.firefox.profiles.default.settings = {
         "widget.use-xdg-desktop-portal.file-picker" = 1;
diff --git a/modules/nixos/profiles/headful.nix b/modules/nixos/profiles/headful.nix
index 795c4c3..ac1a735 100644
--- a/modules/nixos/profiles/headful.nix
+++ b/modules/nixos/profiles/headful.nix
@@ -98,6 +98,7 @@ in {
     };
 
     programs = {
+      dconf.enable = true;
       iftop.enable = true;
       mtr.enable = true;
     };

Consider giving Nix/NixOS a try! <3