diff options
Diffstat (limited to 'users/fcuny/desktop')
-rw-r--r-- | users/fcuny/desktop/xdg.nix | 32 |
1 files changed, 21 insertions, 11 deletions
diff --git a/users/fcuny/desktop/xdg.nix b/users/fcuny/desktop/xdg.nix index 7390811..44a5ce1 100644 --- a/users/fcuny/desktop/xdg.nix +++ b/users/fcuny/desktop/xdg.nix @@ -1,18 +1,28 @@ { config, lib, pkgs, ... }: { - xdg.enable = true; + home.packages = [ + pkgs.xdg-user-dirs + ]; - xdg.userDirs = { + xdg = { enable = true; - createDirectories = true; - desktop = "\$HOME/documents"; - documents = "\$HOME/documents"; - download = "\$HOME/downloads"; - music = "\$HOME/media/music"; - pictures = "\$HOME/media/pictures"; - publicShare = "\$HOME/documents/public"; - templates = "\$HOME/documents/templates"; - videos = "\$HOME/media/videos"; + + mimeApps = { + enable = true; + }; + + userDirs = { + enable = true; + createDirectories = true; + desktop = "${config.home.homeDirectory}/documents"; + documents = "${config.home.homeDirectory}/documents"; + download = "${config.home.homeDirectory}/downloads"; + music = "${config.home.homeDirectory}/media/music"; + pictures = "${config.home.homeDirectory}/media/pictures"; + publicShare = "${config.home.homeDirectory}/documents/public"; + templates = "${config.home.homeDirectory}/documents/templates"; + videos = "${config.home.homeDirectory}/media/videos"; + }; }; } |