From 31b07bd19a559b385d462407c8250e3482f2e8b4 Mon Sep 17 00:00:00 2001 From: prescientmoon Date: Wed, 27 Nov 2024 05:13:34 +0100 Subject: [PATCH] Remove guacamole service --- .../lapetus/services/guacamole/default.nix | 20 ------------------- .../lapetus/services/guacamole/ed25519.pub | 1 - 2 files changed, 21 deletions(-) delete mode 100644 hosts/nixos/lapetus/services/guacamole/default.nix delete mode 100644 hosts/nixos/lapetus/services/guacamole/ed25519.pub diff --git a/hosts/nixos/lapetus/services/guacamole/default.nix b/hosts/nixos/lapetus/services/guacamole/default.nix deleted file mode 100644 index f956c3a..0000000 --- a/hosts/nixos/lapetus/services/guacamole/default.nix +++ /dev/null @@ -1,20 +0,0 @@ -{ config, ... }: -{ - sops.secrets.guacamole_users.sopsFile = ../../secrets.yaml; - satellite.nginx.at.guacamole.port = config.satellite.ports.guacamole; - - virtualisation.oci-containers.containers.guacamole = { - image = "flcontainers/guacamole"; - ports = [ "${toString config.satellite.nginx.at.guacamole.port}:8080" ]; - volumes = [ - "/etc/localtime:/etc/localtime" - # "${config.sops.secrets.guacamole_users.path}:/etc/guacamole/user-mapping.xml" - "/var/lib/guacamole:/config" - ]; - - environment.TZ = config.time.timeZone; - }; - - # Allow ssh-ing using the provided key - users.users.pilot.openssh.authorizedKeys.keyFiles = [ ./ed25519.pub ]; -} diff --git a/hosts/nixos/lapetus/services/guacamole/ed25519.pub b/hosts/nixos/lapetus/services/guacamole/ed25519.pub deleted file mode 100644 index 0f74877..0000000 --- a/hosts/nixos/lapetus/services/guacamole/ed25519.pub +++ /dev/null @@ -1 +0,0 @@ -ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIL4xXKQ07lTMuCIg9Grejp2+o50Fo1ptxyK1oGnWt8jA adrielus@tethys