nix/vm: enable bsd-fingerd in container
Build and test / build (push) Successful in 1m52s
Build and test / test (push) Successful in 2m1s
Build and test / check (push) Successful in 2m6s
Build and test / docs (push) Successful in 5m7s

This commit is contained in:
2026-07-21 05:19:19 +09:00
parent a74421ca62
commit f281bff291
+20
View File
@@ -134,6 +134,26 @@ nixpkgs.lib.nixosSystem {
enable = true;
defaultEditor = true;
};
systemd.sockets.fingerd = {
wantedBy = [ "sockets.target" ];
socketConfig = {
ListenStream = 79;
Accept = true;
};
};
systemd.services."fingerd@" = {
serviceConfig = {
Type = "simple";
StandardInput = "socket";
StandardOutput = "socket";
StandardError = "journal";
ExecStart = "${pkgs.bsd-fingerd}/bin/fingerd -L ${lib.getExe pkgs.bsd-finger} -t 60";
};
};
networking.firewall.allowedTCPPorts = [ 79 ];
};
};
in {