remove home suites
This commit is contained in:
parent
40b0d84f53
commit
2c475dd099
63 changed files with 163 additions and 198 deletions
29
home/terminal/programs/xdg.nix
Normal file
29
home/terminal/programs/xdg.nix
Normal file
|
@ -0,0 +1,29 @@
|
|||
# TODO: move this somewhere more reasonable
|
||||
{
|
||||
config,
|
||||
pkgs,
|
||||
...
|
||||
}: let
|
||||
home = config.home.homeDirectory;
|
||||
in {
|
||||
xdg = {
|
||||
enable = true;
|
||||
cacheHome = config.home.homeDirectory + "/.local/cache";
|
||||
|
||||
userDirs = {
|
||||
enable = true;
|
||||
desktop = home + "/desktop";
|
||||
documents = home + "/docs";
|
||||
download = home + "/down";
|
||||
music = home + "/music";
|
||||
pictures = home + "/pics";
|
||||
publicShare = home + "/share";
|
||||
videos = home + "/vids";
|
||||
extraConfig = {
|
||||
XDG_SCREENSHOTS_DIR = config.xdg.userDirs.pictures + "/screenshots";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
home.packages = [pkgs.xdg-utils];
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue