From 0090ff8ad9400286ca689a67851ce8a66170958a Mon Sep 17 00:00:00 2001 From: Sridhar Ratnakumar Date: Tue, 19 Nov 2024 16:38:56 -0500 Subject: [PATCH] Unused --- modules/nixos/linux/actualism-app.nix | 49 ----------------------- modules/nixos/shared/primary-as-admin.nix | 1 + 2 files changed, 1 insertion(+), 49 deletions(-) delete mode 100644 modules/nixos/linux/actualism-app.nix diff --git a/modules/nixos/linux/actualism-app.nix b/modules/nixos/linux/actualism-app.nix deleted file mode 100644 index 7db5738..0000000 --- a/modules/nixos/linux/actualism-app.nix +++ /dev/null @@ -1,49 +0,0 @@ -{ flake, pkgs, lib, ... }: - -let - inherit (flake) inputs; - inherit (inputs) self; -in -{ - - networking.firewall = { - allowedTCPPorts = [ - 80 - 443 - ]; - }; - # actualism-app (temp host) - services.nginx = { - enable = true; - virtualHosts."www.actualism.app" = { - enableACME = true; - # addSSL = true; - forceSSL = true; - locations."/" = { - proxyPass = "http://127.0.0.1:8080"; - proxyWebsockets = true; - }; - }; - }; - security.acme = { - acceptTerms = true; - defaults.email = "srid@srid.ca"; - }; - systemd.services.actualism-app = { - enable = true; - description = "actualism-app server"; - after = [ "network.target" ]; - wantedBy = [ "multi-user.target" ]; - serviceConfig = { - ExecStart = - lib.getExe (pkgs.writeShellApplication { - name = "actualism-app-start"; - text = '' - cd ${pkgs.actualism-app}/ - ${pkgs.actualism-app}/bin/actualism-app - ''; - }); - Restart = "always"; - }; - }; -} diff --git a/modules/nixos/shared/primary-as-admin.nix b/modules/nixos/shared/primary-as-admin.nix index 3e3f7a0..0dbf4c9 100644 --- a/modules/nixos/shared/primary-as-admin.nix +++ b/modules/nixos/shared/primary-as-admin.nix @@ -9,6 +9,7 @@ myKeys = [ me.sshKey # vixen host key (see distributed-build.nix) + # TODO: This should be added to 'pureintent' only "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIImY2zbqe3HlPF62gSgUrJI7xY3n3NEBwRi/MkDrVjp5" ]; in