mirror of
https://codeberg.org/muon/home.git
synced 2025-12-06 08:07:45 +00:00
22 lines
570 B
Nix
22 lines
570 B
Nix
|
|
{ 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";
|
|
};
|
|
};
|
|
};
|
|
}
|