rename the vm to desktop-vm
This commit is contained in:
parent
0fa33551b3
commit
92324169b3
|
@ -88,7 +88,7 @@
|
|||
./modules/lockscreen
|
||||
];
|
||||
nixos-vm = mkComputer
|
||||
./systems/vm/configuration.nix
|
||||
./systems/desktop-vm
|
||||
./home-manager/desktop.nix
|
||||
[
|
||||
./modules/desktop
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
@ -1,15 +0,0 @@
|
|||
{ ... }:
|
||||
|
||||
{
|
||||
imports =
|
||||
[
|
||||
# Include the results of the hardware scan.
|
||||
./hardware-configuration.nix
|
||||
];
|
||||
|
||||
networking = {
|
||||
hostName = "nixos-vm";
|
||||
interfaces.enp0s3.useDHCP = true;
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue