aboutsummaryrefslogtreecommitdiff
path: root/hosts/underworld/home.nix
diff options
context:
space:
mode:
Diffstat (limited to 'hosts/underworld/home.nix')
-rw-r--r--hosts/underworld/home.nix31
1 files changed, 31 insertions, 0 deletions
diff --git a/hosts/underworld/home.nix b/hosts/underworld/home.nix
index d240194..bb8c57d 100644
--- a/hosts/underworld/home.nix
+++ b/hosts/underworld/home.nix
@@ -1,6 +1,7 @@
{
flakeRoot,
inputs,
+ pkgs,
...
}:
{
@@ -25,6 +26,36 @@
enableGitAnnex = true;
};
+ xdg = {
+ systemDirs.data =
+ let
+ gds = pkgs.gsettings-desktop-schemas;
+ gtk3 = pkgs.gtk3;
+ in
+ [
+ "${gds}/share/gsettings-schemas/${gds.name}"
+ "${gtk3}/share/gsettings-schemas/${gtk3.name}"
+ ];
+ userDirs =
+ let
+ annex = "/mnt/drive2/Annex";
+ in
+ {
+ enable = true;
+ createDirectories = true;
+
+ # Disable dirs that I don't use
+ desktop = null;
+ publicShare = null;
+ templates = null;
+ pictures = "${annex}/Pictures";
+ music = "${annex}/Music";
+ documents = "${annex}/Documents";
+ download = "${annex}/Downloads";
+ };
+ portal.xdgOpenUsePortal = true;
+ };
+
home.stateVersion = "23.11";
};