Add Guac RDP

David Crompton 2023-07-28 10:56:58 -04:00
parent 015c1b04a8
commit 42021cb0f6
4 changed files with 17 additions and 1 deletions

View File

@ -40,7 +40,7 @@
inherit system; inherit system;
specialArgs = attrs; specialArgs = attrs;
modules = [ modules = [
(applyOverlays [ unfree-overlay ]) (applyOverlays [ unfree-overlay unstable-overlay ])
./machines/kcnhub/configuration.nix ./machines/kcnhub/configuration.nix
sops-nix.nixosModules.sops sops-nix.nixosModules.sops
]; ];

View File

@ -6,6 +6,8 @@
./hardware-configuration.nix ./hardware-configuration.nix
# Set of Modules Defining System Configuration # Set of Modules Defining System Configuration
./modules.nix ./modules.nix
# Set of system services, like ssh, and RDP/VNC
./services.nix
# Set of System Wide Available Packages # Set of System Wide Available Packages
./packages.nix ./packages.nix
# Set of Users on This System # Set of Users on This System

View File

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

View File

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