initial cloud config

This commit is contained in:
Grigory Shipunov 2025-01-02 18:23:46 +00:00
parent 3de1ca400c
commit 93a64e8816
6 changed files with 81 additions and 2 deletions

View file

@ -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";
}