From de62562ee5f2a656697ba6c160332a98e5b31a80 Mon Sep 17 00:00:00 2001 From: joy Date: Thu, 5 Sep 2024 18:49:51 +0200 Subject: [PATCH] xdg --- modules/system/homemanger/default.nix | 20 +++++++++++++------- 1 file changed, 13 insertions(+), 7 deletions(-) diff --git a/modules/system/homemanger/default.nix b/modules/system/homemanger/default.nix index d81fa72..e7fb9e1 100644 --- a/modules/system/homemanger/default.nix +++ b/modules/system/homemanger/default.nix @@ -1,12 +1,18 @@ {...}: { home-manager.users.joy.programs.home-manager.enable = true; - - home-manager.users.joy.xdg.mimeApps.defaultApplications = { - "text/plain" = ["hx.desktop"]; - "image/*" = ["imv.desktop"]; - "video/png" = ["mpv.desktop"]; - "video/jpg" = ["mpv.desktop"]; - "video/*" = ["mpv.desktop"]; + home-manager.users.joy.xresources.path = ".config/.Xresources"; + home-manager.users.joy.gtk.gtk2.configLocation = "/home/joy/.config/gtk-2.0/gtkrc"; + home-manager.users.joy.xdg = { + mimeApps = { + enable = true; + defaultApplications = { + "text/plain" = ["hx.desktop"]; + "image/*" = ["imv.desktop"]; + "video/png" = ["mpv.desktop"]; + "video/jpg" = ["mpv.desktop"]; + "video/*" = ["mpv.desktop"]; + }; + }; }; home-manager.backupFileExtension = "backup";