about summary refs log tree commit diff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--modules/common/direnv.nix16
-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
5 files changed, 14 insertions, 8 deletions
diff --git a/modules/common/direnv.nix b/modules/common/direnv.nix
index 6ec39d1..743f3cf 100644
--- a/modules/common/direnv.nix
+++ b/modules/common/direnv.nix
@@ -10,13 +10,17 @@ in {
     mkEnableOption "direnv";
 
   config = mkIf cfg.enable {
-    hm.programs.direnv = {
-      enable = true;
-      config.global = {
-        strict_env = true;
-        warn_timeout = 0;
+    hm = {
+      home.sessionVariables.DIRENV_LOG_FORMAT = "";
+
+      programs.direnv = {
+        enable = true;
+        config.global = {
+          strict_env = true;
+          warn_timeout = "1h";
+        };
+        nix-direnv.enable = true;
       };
-      nix-direnv.enable = true;
     };
   };
 }
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