reorganization

This commit is contained in:
Reid 2026-04-22 23:21:23 -07:00
parent 2ad77494b2
commit b6afba390b
Signed by: reidlab
GPG key ID: DAF5EAF6665839FD
24 changed files with 144 additions and 128 deletions

29
modules/core/xdg.nix Normal file
View file

@ -0,0 +1,29 @@
{ pkgs, ... }:
{
config = {
hm.xdg.enable = true;
hm.xdg.userDirs = rec {
enable = true;
createDirectories = true;
setSessionVariables = true;
desktop = "$HOME/desktop";
documents = "$HOME/documents";
download = "$HOME/downloads";
music = "$HOME/music";
pictures = "$HOME/pictures";
publicShare = "$HOME/public";
templates = "$HOME/templates";
videos = "$HOME/videos";
extraConfig = {
recordings = "${videos}/recordings";
screenshots = "${pictures}/screenshots";
};
};
environment.systemPackages = with pkgs; [
xdg-utils
];
};
}