diff --git a/machine/vps-arm/configuration.nix b/machine/vps-arm/configuration.nix index d76d1f1..eacdee3 100755 --- a/machine/vps-arm/configuration.nix +++ b/machine/vps-arm/configuration.nix @@ -26,6 +26,7 @@ in { ../../configs/docker.nix ../../configs/user.nix + ../../services/atuin.nix ../../services/adguardhome.nix ../../services/frigate.nix ../../services/gitea.nix @@ -241,6 +242,7 @@ in { services = { dnscrypt-proxy2.enable = lib.mkForce false; + qemuGuest.enable = true; nginx = { enable = true; diff --git a/services/atuin.nix b/services/atuin.nix new file mode 100644 index 0000000..d4e92a8 --- /dev/null +++ b/services/atuin.nix @@ -0,0 +1,25 @@ +{ + config, + lib, + pkgs, + ... +}: { + services = { + nginx = { + virtualHosts = { + "atuin.szczepan.ski" = { + forceSSL = true; + enableACME = true; + locations = { + "/" = {proxyPass = "http://127.0.0.1:8888/";}; + }; + }; + }; + }; + + atuin = { + enable = true; + openRegistration = true; + }; + }; +}