nix/nixos/hosts/framework-server/desktop.nix
2023-12-04 17:44:09 +09:00

9 lines
No EOL
289 B
Nix

{ ... }: {
systemd.targets.sleep.enable = false;
systemd.targets.suspend.enable = false;
systemd.targets.hibernate.enable = false;
systemd.targets.hybrid-sleep.enable = false;
services.gnome.gnome-remote-desktop.enable = true;
networking.firewall.allowedTCPPorts = [ 3389 ];
}