40 lines
996 B
Nix
40 lines
996 B
Nix
{
|
|
pkgs,
|
|
config,
|
|
...
|
|
}: {
|
|
xdg = {
|
|
userDirs = {
|
|
enable = true;
|
|
createDirectories = true;
|
|
desktop = "${config.home.homeDirectory}/desktop";
|
|
documents = "${config.home.homeDirectory}/documents";
|
|
download = "${config.home.homeDirectory}/downloads";
|
|
music = "${config.home.homeDirectory}/media/music";
|
|
pictures = "${config.home.homeDirectory}/media/images";
|
|
publicShare = "${config.home.homeDirectory}/documents/share";
|
|
templates = "${config.home.homeDirectory}/documents/templates";
|
|
videos = "${config.home.homeDirectory}/media/videos";
|
|
};
|
|
portal = {
|
|
enable = true;
|
|
xdgOpenUsePortal = true;
|
|
config = {
|
|
common.default = ["gtk"];
|
|
hyprland.default = ["gtk" "hyprland"];
|
|
};
|
|
|
|
extraPortals = [
|
|
pkgs.xdg-desktop-portal-gtk
|
|
];
|
|
};
|
|
};
|
|
dconf = {
|
|
settings = {
|
|
"org/gnome/desktop/interface" = {
|
|
color-scheme = "prefer-dark";
|
|
};
|
|
};
|
|
};
|
|
}
|