feat(m4nix): add rdp
Signed-off-by: Harald Hoyer <harald@hoyer.xyz>
This commit is contained in:
parent
6440514723
commit
40329dea86
|
@ -26,6 +26,17 @@ with lib.metacfg;
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
services.xrdp.enable = true;
|
||||||
|
services.xrdp.defaultWindowManager = "${pkgs.gnome.gnome-session}/bin/gnome-session";
|
||||||
|
services.xrdp.openFirewall = true;
|
||||||
|
|
||||||
|
# Disable the GNOME3/GDM auto-suspend feature that cannot be disabled in GUI!
|
||||||
|
# If no user is logged in, the machine will power down after 20 minutes.
|
||||||
|
systemd.targets.sleep.enable = false;
|
||||||
|
systemd.targets.suspend.enable = false;
|
||||||
|
systemd.targets.hibernate.enable = false;
|
||||||
|
systemd.targets.hybrid-sleep.enable = false;
|
||||||
|
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
azure-cli
|
azure-cli
|
||||||
desktop-file-utils
|
desktop-file-utils
|
||||||
|
@ -34,6 +45,7 @@ with lib.metacfg;
|
||||||
k9s
|
k9s
|
||||||
attic-client
|
attic-client
|
||||||
piper
|
piper
|
||||||
|
gnome-remote-desktop
|
||||||
];
|
];
|
||||||
|
|
||||||
security.tpm2.enable = false;
|
security.tpm2.enable = false;
|
||||||
|
|
Loading…
Reference in a new issue