From 27be0670e3a4854c9fd5b426e7e627f3cbbc2cb5 Mon Sep 17 00:00:00 2001 From: caley Date: Thu, 11 Jun 2026 23:20:28 +0200 Subject: Add NixOS configuration for SSH and Pufferpanel --- nixos/hosts/bin/default.nix | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/nixos/hosts/bin/default.nix b/nixos/hosts/bin/default.nix index 8b13789..08df174 100644 --- a/nixos/hosts/bin/default.nix +++ b/nixos/hosts/bin/default.nix @@ -1 +1,18 @@ +{ ... }: { + imports = [ + ./hardware-configuration.nix + ]; + networking.hostName = "bin"; + + services.openssh.enable = true; + services.pufferpanel.enable = true; + + networking.firewall.allowedTCPPorts = [ 22 8080 5657 ]; + + users.users.cat.openssh.authorizedKeys.keys = [ + "" + ]; + + system.stateVersion = "26.05"; +} -- cgit v1.3.1