diff options
| author | Franck Cuny <franck@fcuny.net> | 2024-11-17 11:16:44 -0800 |
|---|---|---|
| committer | Franck Cuny <franck@fcuny.net> | 2024-11-17 11:16:44 -0800 |
| commit | 357fbda2bb2400a52f8dec61b66342b92fa945ae (patch) | |
| tree | b81c4ea017372f086963094903a01ac5e56a98ef /nix/hosts/nixos/vm/default.nix | |
| parent | install font dejavu (diff) | |
| download | infra-357fbda2bb2400a52f8dec61b66342b92fa945ae.tar.gz | |
move machine configurations under darwin and nixos
Don't manage fonts on Darwin with homebrew.
Diffstat (limited to 'nix/hosts/nixos/vm/default.nix')
| -rw-r--r-- | nix/hosts/nixos/vm/default.nix | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/nix/hosts/nixos/vm/default.nix b/nix/hosts/nixos/vm/default.nix new file mode 100644 index 0000000..f4a51aa --- /dev/null +++ b/nix/hosts/nixos/vm/default.nix @@ -0,0 +1,19 @@ +{ ... }: { + imports = [ ./hardware.nix ]; + + boot.tmp.cleanOnBoot = true; + zramSwap.enable = false; + + networking = { + hostName = "nixos"; + domain = ""; + }; + + services.openssh.enable = true; + + users.users.root.openssh.authorizedKeys.keys = [ + "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAINBkozy+X96u5ciX766bJ/AyQ3xm1tXZTIr5+4PVFZFi" + ]; + + system.stateVersion = "23.11"; +} |
