From 93a64e881679ac8dd76f67b909df7bc85ac851ce Mon Sep 17 00:00:00 2001 From: Grigory Shipunov Date: Thu, 2 Jan 2025 18:23:46 +0000 Subject: initial cloud config --- hosts/cloud/configuration.nix | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 hosts/cloud/configuration.nix (limited to 'hosts/cloud/configuration.nix') diff --git a/hosts/cloud/configuration.nix b/hosts/cloud/configuration.nix new file mode 100644 index 0000000..470f9aa --- /dev/null +++ b/hosts/cloud/configuration.nix @@ -0,0 +1,14 @@ +{ ... }: { + imports = [ + ./hardware-configuration.nix + ./networking.nix # generated at runtime by nixos-infect + ]; + + boot.tmp.cleanOnBoot = true; + zramSwap.enable = true; + networking.hostName = "cloud"; + networking.domain = "oxapentane.com"; + services.openssh.enable = true; + users.users.root.openssh.authorizedKeys.keys = [''ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIJl9iYG5oHBq/poBn7Jf1/FGWWbAnbx+NKjs7qtT3uAK'' ]; + system.stateVersion = "23.11"; +} -- cgit v1.3.1