diff options
Diffstat (limited to '')
-rw-r--r-- | nix/hosts/nixos/vm/default.nix (renamed from nix/hosts/vm/default.nix) | 16 | ||||
-rw-r--r-- | nix/hosts/nixos/vm/hardware.nix (renamed from nix/hosts/vm/hardware.nix) | 0 |
2 files changed, 3 insertions, 13 deletions
diff --git a/nix/hosts/vm/default.nix b/nix/hosts/nixos/vm/default.nix index a6dff3a..f4a51aa 100644 --- a/nix/hosts/vm/default.nix +++ b/nix/hosts/nixos/vm/default.nix @@ -1,7 +1,5 @@ -{ pkgs, ... }: { - imports = [ - ./hardware.nix - ]; +{ ... }: { + imports = [ ./hardware.nix ]; boot.tmp.cleanOnBoot = true; zramSwap.enable = false; @@ -14,16 +12,8 @@ services.openssh.enable = true; users.users.root.openssh.authorizedKeys.keys = [ - ''ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAINBkozy+X96u5ciX766bJ/AyQ3xm1tXZTIr5+4PVFZFi'' + "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAINBkozy+X96u5ciX766bJ/AyQ3xm1tXZTIr5+4PVFZFi" ]; system.stateVersion = "23.11"; - - environment = { - systemPackages = with pkgs; [ - git - jq - vim - ]; - }; } diff --git a/nix/hosts/vm/hardware.nix b/nix/hosts/nixos/vm/hardware.nix index 89c3d8b..89c3d8b 100644 --- a/nix/hosts/vm/hardware.nix +++ b/nix/hosts/nixos/vm/hardware.nix |