refactor rice into config

This commit is contained in:
atagen 2025-07-21 12:26:28 +10:00
parent 8872a12d20
commit e4b7d76769
64 changed files with 225 additions and 230 deletions

View file

@ -1,38 +0,0 @@
{
pkgs,
...
}:
{
xdg.autostart.enable = true;
xdg.portal.enable = true;
hm.xdg = {
enable = true;
portal =
let
gtk = pkgs.xdg-desktop-portal-gtk;
gnome = pkgs.xdg-desktop-portal-gnome;
in
{
enable = true;
config = {
common = {
default = [
"gnome"
];
};
};
extraPortals = [
gnome
gtk
];
};
};
environment.pathsToLink = [
"/share/xdg-desktop-portal"
"/share/applications"
];
security.polkit.enable = true;
}