diff --git a/newinfra/nix/hive.nix b/newinfra/nix/hive.nix index ff0d493..c2378ea 100644 --- a/newinfra/nix/hive.nix +++ b/newinfra/nix/hive.nix @@ -245,8 +245,8 @@ # VPS5 is the primary test server, where new things are being deployed that could break stuff maybe. vps5 = { name, nodes, modulesPath, config, pkgs, lib, ... }: let - commit = "c8842ef22a2b7170316e5ee52da127baf58b9971"; - fakessh = import (fetchTarball "https://github.com/Noratrieb/fakessh/archive/${commit}.tar.gz"); + commit = "5f203d0f5ba2639043bd5bd1c3687c406d6abac1"; + cluelessh = import (fetchTarball "https://github.com/Noratrieb/cluelessh/archive/${commit}.tar.gz"); in { imports = [ @@ -260,12 +260,12 @@ services.openssh.ports = [ 2000 ]; systemd.services.fakessh = { - description = "fakessh ssh honeypot"; + description = "cluelessh-faked ssh honeypot"; wantedBy = [ "multi-user.target" ]; after = [ "network.target" ]; serviceConfig = { DynamicUser = true; - ExecStart = "${lib.getExe (fakessh {inherit pkgs;})}"; + ExecStart = "${lib.getExe' (cluelessh {inherit pkgs;}) "cluelessh-faked" }"; AmbientCapabilities = "CAP_NET_BIND_SERVICE"; # i really don't trust this. MemoryHigh = "100;";