mirror of
https://codeberg.org/muon/home.git
synced 2025-12-06 08:07:45 +00:00
Add xdg
This commit is contained in:
parent
bd508dc6e9
commit
c56b27fdbb
4 changed files with 31 additions and 0 deletions
22
modules/home/xdg.nix
Normal file
22
modules/home/xdg.nix
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
|
||||
{ pkgs, lib, config, ... }: {
|
||||
options.mods.xdg.enable =
|
||||
lib.mkEnableOption "enables xdg settings";
|
||||
|
||||
config = lib.mkIf config.mods.xdg.enable {
|
||||
xdg = {
|
||||
enable = true;
|
||||
userDirs = {
|
||||
enable = true;
|
||||
documents = "$HOME/documents";
|
||||
download = "$HOME/downloads";
|
||||
videos = "$HOME/misc/videos";
|
||||
music = "$HOME/misc/music";
|
||||
pictures = "$HOME/misc/pictures";
|
||||
desktop = "$HOME/misc/desktop";
|
||||
publicShare = "$HOME/misc/public";
|
||||
templates = "$HOME/misc/templates";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue