Add host vm

This commit is contained in:
Jakob Lechner 2025-09-17 03:30:25 +02:00
parent ee83d51dd2
commit 7e69e3677b
2 changed files with 25 additions and 0 deletions

View file

@ -29,4 +29,7 @@ in
hardware.framework-16-7040-amd
];
};
vm = {
system = "x86_64-linux";
};
}

View file

@ -0,0 +1,22 @@
{ pkgs, ... }:
{
environment.systemPackages = with pkgs; [
htop
];
boot = {
loader.grub.devices = [ "/dev/vda" ];
initrd = {
enable = true;
systemd.enable = true;
};
};
fileSystems."/" = {
fsType = "tmpfs";
options = [ "mode=0755" ];
};
system.stateVersion = "25.05";
}