2023-12-15 15:18:36 +00:00
|
|
|
{pkgs, ...}: {
|
2023-12-15 16:02:50 +00:00
|
|
|
imports = [
|
|
|
|
./system
|
|
|
|
./services
|
|
|
|
];
|
2022-12-23 14:28:14 +00:00
|
|
|
|
2023-05-09 18:38:04 +00:00
|
|
|
# shorter timeout for systemd services
|
|
|
|
systemd.extraConfig = ''
|
|
|
|
DefaultTimeoutStopSec=10s
|
|
|
|
'';
|
|
|
|
|
2022-12-19 22:35:54 +00:00
|
|
|
services.dbus.enable = true;
|
|
|
|
xdg.portal = {
|
|
|
|
enable = true;
|
|
|
|
wlr.enable = true;
|
2023-12-16 14:45:33 +00:00
|
|
|
|
|
|
|
config = {
|
|
|
|
common.default = ["wlr" "gtk"];
|
|
|
|
hyprland.default = ["hyprland"];
|
|
|
|
};
|
2023-12-15 15:18:36 +00:00
|
|
|
extraPortals = [
|
|
|
|
pkgs.xdg-desktop-portal-gtk
|
|
|
|
pkgs.xdg-desktop-portal-wlr
|
2023-12-16 14:45:33 +00:00
|
|
|
pkgs.xdg-desktop-portal-hyprland
|
2023-12-15 15:18:36 +00:00
|
|
|
];
|
2022-12-19 22:35:54 +00:00
|
|
|
};
|
|
|
|
|
2023-03-14 13:11:04 +00:00
|
|
|
# enable gnome virtual file system
|
|
|
|
services.gvfs.enable = true;
|
2022-12-19 22:35:54 +00:00
|
|
|
}
|