Use GNOME RDP

master
David Crompton 2023-07-28 11:21:51 -04:00
parent 5aedb0cbcd
commit c9d7d44805
3 changed files with 14 additions and 1 deletions

View File

@ -1,5 +1,6 @@
{ ... }: { { ... }: {
imports = [ imports = [
./services/remote-desktop-guac.nix # ./services/remote-desktop-guac.nix
./services/rdp.nix
]; ];
} }

View File

@ -0,0 +1,3 @@
{ config, lib, pkgs, ... }: {
services.gnome.gnome-remote-desktop.enable = true;
}

View File

@ -1,9 +1,18 @@
{ config, lib, pkgs, nixpkgs-unstable, ... }: { { config, lib, pkgs, nixpkgs-unstable, ... }: {
imports = [ imports = [
"${nixpkgs-unstable}/nixos/modules/services/web-apps/guacamole-server.nix" "${nixpkgs-unstable}/nixos/modules/services/web-apps/guacamole-server.nix"
"${nixpkgs-unstable}/nixos/modules/services/web-apps/guacamole-client.nix"
]; ];
services.guacamole-server.enable = true; services.guacamole-server.enable = true;
services.guacamole-server.package = pkgs.unstable.guacamole-server; services.guacamole-server.package = pkgs.unstable.guacamole-server;
services.guacamole-server.port = 4822; services.guacamole-server.port = 4822;
services.guacamole-client.enable = true;
services.guacamole-client.enableWebserver = true;
services.guacamole-client.package = pkgs.unstable.guacamole-client;
services.guacamole-client.settings = {
guacd-hostname = "localhost";
guacd-port = 4822;
};
} }