aboutsummaryrefslogtreecommitdiffstats
path: root/modules/home
diff options
context:
space:
mode:
authorBenedikt Peetz <benedikt.peetz@b-peetz.de>2026-04-14 17:08:53 +0200
committerBenedikt Peetz <benedikt.peetz@b-peetz.de>2026-04-14 17:08:53 +0200
commit89908c69b7819c7c50cdfa7219d9ef77edfdd65e (patch)
tree55c77dab162a921dce2ba1ac468318c6a39b8b94 /modules/home
parentmodules/atuin: Use the daemon (diff)
downloadnixos-config-89908c69b7819c7c50cdfa7219d9ef77edfdd65e.zip
modules/xdg: Move the rest of the xdg config here
Diffstat (limited to '')
-rw-r--r--modules/home.legacy/default.nix35
1 files changed, 1 insertions, 34 deletions
diff --git a/modules/home.legacy/default.nix b/modules/home.legacy/default.nix
index 8fb209f3..7cc9bb45 100644
--- a/modules/home.legacy/default.nix
+++ b/modules/home.legacy/default.nix
@@ -7,17 +7,7 @@
#
# You should have received a copy of the License along with this program.
# If not, see <https://www.gnu.org/licenses/gpl-3.0.txt>.
-{config, ...}: let
- inherit (config.home) homeDirectory;
-
- # xdg
- configHome = "${homeDirectory}/.config";
- dataHome = "${homeDirectory}/.local/share";
- stateHome = "${homeDirectory}/.local/state";
- cacheHome = "${homeDirectory}/.cache";
- binHome = "${homeDirectory}/.local/bin";
- # TODO: add XDG_RUNTIME_DIR
-in {
+{...}: {
imports = [
./conf
./files
@@ -26,27 +16,4 @@ in {
# I don't know what this does, but I've seen it a lot online, so it should be good, right?
programs.home-manager.enable = true;
-
- xdg = {
- enable = true;
- inherit configHome dataHome stateHome cacheHome; #binHome; # TODO: add binHome, when the standard is extended
-
- /*
- TODO: add this
- desktopEntries = {};
- */
-
- userDirs = {
- enable = true;
- createDirectories = true;
- desktop = null;
- documents = "${homeDirectory}/documents/general";
- download = "/tmp/download";
- music = "${homeDirectory}/media/music";
- pictures = "${homeDirectory}/media/pictures";
- videos = "${homeDirectory}/media/videos";
- templates = "${homeDirectory}/media/templates";
- publicShare = "${homeDirectory}/media/public";
- };
- };
}