Add host vm
This commit is contained in:
parent
ee83d51dd2
commit
7e69e3677b
2 changed files with 25 additions and 0 deletions
|
|
@ -29,4 +29,7 @@ in
|
||||||
hardware.framework-16-7040-amd
|
hardware.framework-16-7040-amd
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
vm = {
|
||||||
|
system = "x86_64-linux";
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
22
hosts/vm/configuration.nix
Normal file
22
hosts/vm/configuration.nix
Normal 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";
|
||||||
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue