Initial dendritic rewrite

This commit is contained in:
2026-04-04 16:46:30 -04:00
parent 06a8e77924
commit f080e311d1
131 changed files with 3342 additions and 3148 deletions

38
modules/features/xdg.nix Normal file
View File

@@ -0,0 +1,38 @@
{
flake.modules.homeManager.xdg =
{
config,
pkgs,
...
}:
{
xdg = {
enable = true;
portal = {
enable = true;
configPackages = [ pkgs.gnome-session ];
extraPortals = with pkgs; [
xdg-desktop-portal-gnome
xdg-desktop-portal-gtk
];
};
userDirs = {
enable = true;
setSessionVariables = true;
createDirectories = true;
extraConfig = {
DEV = "${config.home.homeDirectory}/Dev";
WALLPAPERS = "${config.xdg.userDirs.pictures}/Wallpapers";
SCREENSHOTS = "${config.xdg.userDirs.pictures}/Screenshots";
};
};
};
home.file.".face".source = ../../assets/profile-picture.jpg;
home.file."${config.xdg.userDirs.extraConfig.WALLPAPERS}" = {
source = ../../assets/wallpapers;
recursive = true;
};
};
}