nix/nixos/hosts/framework-server/desktop.nix

13 lines
331 B
Nix
Raw Normal View History

2023-12-04 03:54:07 +01:00
{ ... }: {
2023-12-04 07:58:15 +01:00
systemd.targets.sleep.enable = false;
systemd.targets.suspend.enable = false;
systemd.targets.hibernate.enable = false;
systemd.targets.hybrid-sleep.enable = false;
2023-12-04 09:44:09 +01:00
2023-12-04 10:22:51 +01:00
services.xrdp = {
enable = true;
2023-12-04 12:14:28 +01:00
defaultWindowManager = "gnome-session";
2023-12-04 10:22:51 +01:00
openFirewall = true;
2023-12-04 12:01:32 +01:00
confDir = "/etc/xrdp/conf";
2023-12-04 10:22:51 +01:00
};
2023-12-04 03:54:07 +01:00
}