summaryrefslogtreecommitdiff
path: root/hosts/cloud/configuration.nix
diff options
context:
space:
mode:
authorGrigory Shipunov2025-01-02 18:23:46 +0000
committerGrigory Shipunov2025-01-02 18:25:21 +0000
commit93a64e881679ac8dd76f67b909df7bc85ac851ce (patch)
tree361623a6d4dbfee2df9823d5726d8d4cab74c7b9 /hosts/cloud/configuration.nix
parent3de1ca400cc6f2de7ec6b8ecbbf44be130649ef6 (diff)
initial cloud config
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";
+}