infrastructure/hosts/silicon/default.nix

33 lines
600 B
Nix
Raw Normal View History

2023-12-15 15:18:36 +00:00
{pkgs, ...}: {
imports = [
./system
./services
];
2022-12-23 14:28:14 +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;
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
pkgs.xdg-desktop-portal-hyprland
2023-12-15 15:18:36 +00:00
];
2022-12-19 22:35:54 +00:00
};
programs.zsh.enable = true;
2022-12-20 18:04:02 +00:00
# enable gnome virtual file system
services.gvfs.enable = true;
2022-12-19 22:35:54 +00:00
}