rename the vm to desktop-vm

This commit is contained in:
Andreas Zweili 2022-01-10 21:15:52 +01:00
parent 0fa33551b3
commit 92324169b3
3 changed files with 7 additions and 18 deletions

View File

@ -88,7 +88,7 @@
./modules/lockscreen
];
nixos-vm = mkComputer
./systems/vm/configuration.nix
./systems/desktop-vm
./home-manager/desktop.nix
[
./modules/desktop

View File

@ -1,5 +1,4 @@
{ ... }:
{
boot.initrd.availableKernelModules = [
"ata_piix"
@ -15,15 +14,20 @@
device = "/dev/disk/by-label/nixos";
fsType = "ext4";
};
fileSystems."/boot" = {
device = "/dev/disk/by-label/BOOT";
fsType = "vfat";
};
networking = {
hostName = "nixos-vm";
interfaces.enp0s3.useDHCP = true;
};
swapDevices = [
{ device = "/dev/disk/by-label/swap"; }
];
virtualisation.virtualbox.guest.enable = true;
}

View File

@ -1,15 +0,0 @@
{ ... }:
{
imports =
[
# Include the results of the hardware scan.
./hardware-configuration.nix
];
networking = {
hostName = "nixos-vm";
interfaces.enp0s3.useDHCP = true;
};
}