summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Keller <tjk@tjkeller.xyz>2025-09-13 21:02:49 -0500
committerTim Keller <tjk@tjkeller.xyz>2025-09-13 21:02:49 -0500
commitb65bdee6c95ae9a17f932775b41662aa5e65e9b6 (patch)
treec793f03f65729ff059ee805f1e050f3e5cc15db4
parentaf1db2d620232d10c95f3778d91a315892dcfba8 (diff)
downloadnixos-b65bdee6c95ae9a17f932775b41662aa5e65e9b6.tar.xz
nixos-b65bdee6c95ae9a17f932775b41662aa5e65e9b6.zip
use xdg autostart for unclutter and redshift instead of xprofile/xinitrcHEADmaster
-rw-r--r--archetypes/profiles/desktop/default.nix10
1 files changed, 10 insertions, 0 deletions
diff --git a/archetypes/profiles/desktop/default.nix b/archetypes/profiles/desktop/default.nix
index 188d205..8156953 100644
--- a/archetypes/profiles/desktop/default.nix
+++ b/archetypes/profiles/desktop/default.nix
@@ -89,6 +89,16 @@
desktop = mkDesktop true;
};
+ xdg = {
+ autostart = {
+ enable = mkDesktop true;
+ entries = mkDesktop [
+ "${pkgs.redshift}/share/applications/redshift-gtk.desktop"
+ "${pkgs.unclutter-desktop-entry}/share/applications/unclutter.desktop"
+ ];
+ };
+ };
+
xdg.mimeApps._defaultCategoryApplications = {
enable = true;
categoryApplications = {