Add host vm
This commit is contained in:
parent
ee83d51dd2
commit
6ff40656a2
2 changed files with 19 additions and 0 deletions
|
|
@ -29,4 +29,7 @@ in
|
|||
hardware.framework-16-7040-amd
|
||||
];
|
||||
};
|
||||
vm = {
|
||||
system = "x86_64-linux";
|
||||
};
|
||||
}
|
||||
|
|
|
|||
16
hosts/vm/configuration.nix
Normal file
16
hosts/vm/configuration.nix
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
{ pkgs, ... }:
|
||||
|
||||
{
|
||||
environment.systemPackages = with pkgs; [
|
||||
htop
|
||||
];
|
||||
|
||||
boot.loader.grub.devices = [ "/dev/vda" ];
|
||||
|
||||
fileSystems."/" = {
|
||||
fsType = "tmpfs";
|
||||
options = [ "mode=0755" ];
|
||||
};
|
||||
|
||||
system.stateVersion = "25.05";
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue