Add XDG, and move program installations to better modules
This commit is contained in:
parent
28590820e5
commit
92adc76e0c
4 changed files with 25 additions and 7 deletions
16
programs/xdg/default.nix
Normal file
16
programs/xdg/default.nix
Normal 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";
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue