Commit 60ee2107ca43
home/common/desktop/gtk.nix
@@ -13,5 +13,6 @@
gtk2 = {
configLocation = "${config.xdg.configHome}/gtk-2.0/gtkrc";
};
+ gtk4.theme = null;
};
}
home/common/shell/xdg.nix
@@ -1,4 +1,9 @@
-{ config, lib, ... }:
+{
+ config,
+ lib,
+ options,
+ ...
+}:
let
desktopDirectory = config.home.homeDirectory + "/desktop";
in
@@ -25,8 +30,11 @@ in
videos = desktopDirectory + "/videos";
extraConfig = {
- XDG_SCREENSHOTS_DIR = "${desktopDirectory}/pictures/screenshots";
+ SCREENSHOTS = "${desktopDirectory}/pictures/screenshots";
};
+ }
+ // lib.optionalAttrs (options.xdg.userDirs ? setSessionVariables) {
+ setSessionVariables = true;
};
};
}