diff --git a/flake.nix b/flake.nix index 3f7f445..0885ee1 100644 --- a/flake.nix +++ b/flake.nix @@ -23,7 +23,7 @@ system = "x86_64-linux"; name = "emmet"; email = "librephoenix@protonmail.com"; - dotfilesDir = "~/dotfiles"; + dotfilesDir = "~/.dotfiles"; theme = "ayu-dark"; themePolarity = "dark"; backgroundUrlPath = "/themes/"+theme+"/backgroundurl.txt"; diff --git a/user/home.nix b/user/home.nix index 8b17439..daa8aa2 100644 --- a/user/home.nix +++ b/user/home.nix @@ -153,6 +153,30 @@ services.syncthing.enable = true; + xdg.enable = true; + xdg.userDirs = { + enable = true; + createDirectories = true; + music = "${config.home.homeDirectory}/Media/Music"; + videos = "${config.home.homeDirectory}/Media/Videos"; + pictures = "${config.home.homeDirectory}/Media/Pictures"; + templates = "${config.home.homeDirectory}/Templates"; + download = "${config.home.homeDirectory}/Downloads"; + documents = "${config.home.homeDirectory}/Documents"; + desktop = null; + publicShare = null; + extraConfig = { + XDG_DOTFILES_DIR = "${config.home.homeDirectory}/.dotfiles"; + XDG_ARCHIVE_DIR = "${config.home.homeDirectory}/Archive"; + XDG_VM_DIR = "${config.home.homeDirectory}/Machines"; + XDG_ORG_DIR = "${config.home.homeDirectory}/Org"; + XDG_GAME_DIR = "${config.home.homeDirectory}/Media/Games"; + XDG_GAME_SAVE_DIR = "${config.home.homeDirectory}/Media/Game Saves"; + XDG_PODCAST_DIR = "${config.home.homeDirectory}/Media/Podcasts"; + XDG_BOOK_DIR = "${config.home.homeDirectory}/Media/Books"; + }; + }; + home.file.".librewolf/librewolf.overrides.cfg".text = '' defaultPref("font.name.serif.x-western","Inconsolata"); defaultPref("font.size.variable.x-western",20);