summaryrefslogtreecommitdiff
path: root/nixos/hosts
diff options
context:
space:
mode:
authorcaley <u65487754@gmail.com>2026-06-11 23:20:28 +0200
committerGitHub <noreply@github.com>2026-06-11 23:20:28 +0200
commit27be0670e3a4854c9fd5b426e7e627f3cbbc2cb5 (patch)
tree32d981d3b5a0742849b3a41dff049032f5701a68 /nixos/hosts
parent25f05817e639246ddc524b1da67dbb9f51888393 (diff)
Add NixOS configuration for SSH and Pufferpanel
Diffstat (limited to 'nixos/hosts')
-rw-r--r--nixos/hosts/bin/default.nix17
1 files changed, 17 insertions, 0 deletions
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";
+}