initial cloud config
This commit is contained in:
parent
3de1ca400c
commit
93a64e8816
6 changed files with 81 additions and 2 deletions
hosts/cloud
14
hosts/cloud/configuration.nix
Normal file
14
hosts/cloud/configuration.nix
Normal 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";
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue