summaryrefslogtreecommitdiff
path: root/hosts/cloud/configuration.nix
diff options
context:
space:
mode:
Diffstat (limited to 'hosts/cloud/configuration.nix')
-rw-r--r--hosts/cloud/configuration.nix14
1 files changed, 14 insertions, 0 deletions
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";
+}