mirror of
https://github.com/ItsDrike/nixdots
synced 2025-06-30 12:20:41 +00:00
Add xdg settings
This commit is contained in:
parent
a89f7f7576
commit
3ada18683e
4 changed files with 79 additions and 0 deletions
22
home/programs/xdg/user-dirs.nix
Normal file
22
home/programs/xdg/user-dirs.nix
Normal file
|
@ -0,0 +1,22 @@
|
|||
# Manage $XDG_CONFIG_HOME/user-dirs.dirs
|
||||
{ config, ... }: {
|
||||
xdg.userDirs = {
|
||||
enable = true;
|
||||
createDirectories = true;
|
||||
|
||||
desktop = null;
|
||||
documents = null;
|
||||
download = "${config.home.homeDirectory}/Downloads";
|
||||
|
||||
publicShare = "${config.home.homeDirectory}/.local/share/public";
|
||||
templates = "${config.home.homeDirectory}/.local/share/templates";
|
||||
|
||||
music = "${config.home.homeDirectory}/Media/Music";
|
||||
pictures = "${config.home.homeDirectory}/Media/Pictures";
|
||||
videos = "${config.home.homeDirectory}/Media/Videos";
|
||||
|
||||
extraConfig = {
|
||||
XDG_SCREENSHOTS_DIR = "${config.xdg.userDirs.pictures}/Screenshots";
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue