Add XDG, and move program installations to better modules

This commit is contained in:
langedev 2023-11-20 02:22:10 -08:00
parent 28590820e5
commit 92adc76e0c
4 changed files with 25 additions and 7 deletions

16
programs/xdg/default.nix Normal file
View file

@ -0,0 +1,16 @@
{ config, pkgs, ... }:
{
xdg.enable = true;
xdg.userDirs.enable = true;
xdg.userDirs = {
desktop = "${config.home.homeDirectory}/dwn";
download = "${config.home.homeDirectory}/dwn";
documents = "${config.home.homeDirectory}/dox";
publicShare = "${config.home.homeDirectory}/dox/public";
templates = "${config.home.homeDirectory}/dox/templates";
music = "${config.home.homeDirectory}/med/mus";
pictures = "${config.home.homeDirectory}/med/pix";
videos = "${config.home.homeDirectory}/med/vid";
};
}