From 67cf042f6dc370c2cc6d02a944893f081418264a Mon Sep 17 00:00:00 2001 From: Fuwn Date: Wed, 18 Sep 2024 21:00:49 -0700 Subject: hosts: himeji --- hosts/himeji/default.nix | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 hosts/himeji/default.nix (limited to 'hosts/himeji/default.nix') diff --git a/hosts/himeji/default.nix b/hosts/himeji/default.nix new file mode 100644 index 0000000..7d3f5a1 --- /dev/null +++ b/hosts/himeji/default.nix @@ -0,0 +1,26 @@ +{ secrets, ... }: +{ + imports = [ + ./hardware-configuration.nix + ./networking.nix + ../../modules/networking/vpn/tailscale.nix + ]; + + boot.tmp.cleanOnBoot = true; + zramSwap.enable = true; + services.openssh.enable = true; + system.stateVersion = "24.05"; + + networking = { + hostName = "himeji"; + domain = ""; + }; + + users.users.root = { + initialHashedPassword = secrets.initial_hashed_password; + + openssh.authorizedKeys.keys = [ + "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIBm/ydlGJiKWMxH6v9SFN3vo/ZkX6eQ+uCmH32gnCkUW" + ]; + }; +} -- cgit v1.2.3