hosts/vm: update configuration and create base vm

This commit is contained in:
Wroclaw 2024-08-08 04:34:03 +02:00
parent 56527b97cc
commit 6f5829e6ab
2 changed files with 24 additions and 13 deletions

21
hosts/vm-base.nix Normal file
View file

@ -0,0 +1,21 @@
{ lib, modulesPath, ... }:
{
imports = [
"${modulesPath}/virtualisation/qemu-vm.nix"
../nix-os/account.nix
../nix-os/core.nix
../nix-os/locale.nix
../nix-os/polkit/disable-shutdown.nix
../nix-os/shell.nix
../nix-os/udev.nix
../nix-os/xdg-default-apps.nix
];
config = {
services.syncthing.enable = lib.mkForce false;
virtualisation = {
memorySize = 4096;
};
};
}