summaryrefslogtreecommitdiff
path: root/hosts/himeji/default.nix
diff options
context:
space:
mode:
authorFuwn <[email protected]>2024-09-18 21:00:49 -0700
committerFuwn <[email protected]>2024-09-18 21:00:49 -0700
commit67cf042f6dc370c2cc6d02a944893f081418264a (patch)
tree406a2971c76a376c1c02219f746b46b04869b349 /hosts/himeji/default.nix
parentboot: emulated arm64 (diff)
downloadnixos-config-67cf042f6dc370c2cc6d02a944893f081418264a.tar.xz
nixos-config-67cf042f6dc370c2cc6d02a944893f081418264a.zip
hosts: himeji
Diffstat (limited to 'hosts/himeji/default.nix')
-rw-r--r--hosts/himeji/default.nix26
1 files changed, 26 insertions, 0 deletions
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"
+ ];
+ };
+}