infrastructure/hosts/aurum/default.nix

31 lines
569 B
Nix
Raw Normal View History

2024-01-15 15:50:55 +00:00
{pkgs, ...}: {
imports = [
2024-03-31 14:30:01 +00:00
./services
2024-01-15 15:50:55 +00:00
./system
];
# shorter timeout for systemd services
systemd.extraConfig = ''
DefaultTimeoutStopSec=10s
'';
services.dbus.enable = true;
xdg.portal = {
enable = true;
wlr.enable = true;
config = {
common.default = ["wlr" "gtk"];
hyprland.default = ["hyprland"];
};
extraPortals = [
pkgs.xdg-desktop-portal-gtk
pkgs.xdg-desktop-portal-wlr
pkgs.xdg-desktop-portal-hyprland
];
};
# enable gnome virtual file system
services.gvfs.enable = true;
}