From 4ed45dc9ea641fb90289de1e29e3cdb6e332f34d Mon Sep 17 00:00:00 2001 From: vali Date: Fri, 12 Apr 2024 15:37:27 +0200 Subject: [PATCH] reenabled xdg, appareantly it does work --- modules/other/default.nix | 2 +- modules/other/xdg.nix | 5 ++--- notes.md | 3 +-- 3 files changed, 4 insertions(+), 6 deletions(-) diff --git a/modules/other/default.nix b/modules/other/default.nix index 477ac1c..7ce8d0e 100644 --- a/modules/other/default.nix +++ b/modules/other/default.nix @@ -2,6 +2,6 @@ _: { imports = [ ./home-manager.nix ./system.nix -# ./xdg.nix + ./xdg.nix ]; } diff --git a/modules/other/xdg.nix b/modules/other/xdg.nix index c69a7f8..c20b7b4 100644 --- a/modules/other/xdg.nix +++ b/modules/other/xdg.nix @@ -14,7 +14,7 @@ text_editor = "nvim.desktop"; in { - environment.sessionVariables = { +/* environment.sessionVariables = { CARGO_HOME = "${hmCfg.xdg.dataHome}/cargo"; GOPATH = "${hmCfg.xdg.dataHome}/go"; GNUPGHOME = "${hmCfg.xdg.dataHome}/gnupg"; @@ -30,14 +30,13 @@ in { WINEPREFIX = "${hmCfg.xdg.dataHome}/wine"; XAUTHORITY = "\$XDG_RUNTIME_DIR/Xauthority"; }; - +*/ myOptions.programs.zsh.extraAliases = { gdb = "gdb -n -x ${hmCfg.xdg.configHome}/gdb/init"; pidgin = "pidgin --config=${hmCfg.xdg.dataHome}/purple"; svn = "svn --config-dir ${hmCfg.xdg.configHome}/subversion"; wget = "wget --hsts-file=\"${hmCfg.xdg.dataHome}/wget-hsts\""; }; - home-manager.users.${username} = { xdg.configFile."npm/npmrc".text = '' prefix=${hmCfg.xdg.dataHome}/npm diff --git a/notes.md b/notes.md index 9b380f5..cc2d0a1 100644 --- a/notes.md +++ b/notes.md @@ -1,2 +1 @@ -## Used Stuff -I think it'd be nice to use flake-parts, they make our config more sane. +# Used Stuff