Add nix autoUpgrade

This commit is contained in:
muon 2024-12-29 08:58:37 +00:00
parent 03f043cd82
commit 0adc639ae0
3 changed files with 54 additions and 25 deletions

View file

@ -2,6 +2,15 @@
options.mods.xdg.enable = lib.mkEnableOption "enables xdg settings";
config = lib.mkIf config.mods.xdg.enable {
environment.sessionVariables = {
XDG_CACHE_HOME = "$HOME/.cache";
XDG_CONFIG_DIRS = "/etc/xdg";
XDG_CONFIG_HOME = "$HOME/.config";
XDG_DATA_DIRS = "/usr/local/share/:/usr/share/";
XDG_DATA_HOME = "$HOME/.local/share";
XDG_STATE_HOME = "$HOME/.local/state";
};
xdg = let
browser = [ "librewolf.desktop" ];
associations = {