nixos-config/profiles/workspace/xdg.nix

21 lines
380 B
Nix

{ config, pkgs, lib, ... }: {
home-manager.users.balsoft = {
xdg.enable = true;
xdg.userDirs.enable = true;
};
environment.sessionVariables = {
XDG_CURRENT_DESKTOP = "X-Generic";
DE = "generic";
};
persist.state.directories = map (x: "/home/balsoft/${x}") [
"Pictures"
"Documents"
"Downloads"
"Music"
"projects"
"Videos"
];
}