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

View file

@ -1,19 +1,21 @@
{ ... }: { lib, modulesPath, ... }:
{ {
imports = [ imports = [
../nix-os/core.nix "${modulesPath}/virtualisation/qemu-vm.nix"
../nix-os/docker.nix
../nix-os/desktopManagers/gnome.nix
../nix-os/displayManagers/gdm.nix
#../nix-os/desktop/kde-plasma.nix
../nix-os/shell.nix
../nix-os/virtualization.nix
../nix-os/polkit/disable-shutdown.nix
../nix-os/locale.nix
../nix-os/adb.nix
../nix-os/account.nix ../nix-os/account.nix
../nix-os/xdg-default-apps.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/udev.nix
../nix-os/xdg-default-apps.nix
]; ];
}
config = {
services.syncthing.enable = lib.mkForce false;
virtualisation = {
memorySize = 4096;
};
};
}

9
hosts/vm-gnome.nix Normal file
View file

@ -0,0 +1,9 @@
{ lib, ... }:
{
imports = [
./vm-base.nix
../nix-os/desktopManagers/gnome.nix
../nix-os/displayManagers/gdm.nix
];
}