diff --git a/home/arrakis/default.nix b/home/arrakis/default.nix index 0e82594..e5e907c 100644 --- a/home/arrakis/default.nix +++ b/home/arrakis/default.nix @@ -19,6 +19,7 @@ ../common/programs/kitty.nix ../common/programs/syncthing.nix ../common/features/colorscheme.nix + ../common/features/xdg.nix ]; home.sessionVariables = { @@ -43,4 +44,5 @@ username = lib.mkDefault "naps62"; stateVersion = lib.mkDefault "24.05"; }; + } diff --git a/home/common/features/xdg.nix b/home/common/features/xdg.nix new file mode 100644 index 0000000..f26a248 --- /dev/null +++ b/home/common/features/xdg.nix @@ -0,0 +1,17 @@ +{ ... }: +{ + xdg = { + userDirs = { + enable = true; + createDirectories = true; + desktop = null; + documents = null; + download = "downloads"; + music = null; + pictures = null; + publicShare = null; + templates = null; + videos = null; + }; + }; +} diff --git a/home/common/programs/syncthing.nix b/home/common/programs/syncthing.nix index 3e9fc8d..3013ae4 100644 --- a/home/common/programs/syncthing.nix +++ b/home/common/programs/syncthing.nix @@ -2,6 +2,5 @@ { services.syncthing = { enable = true; - dataDir = "$HOME/sync"; }; }