merge configuration and hardware-configuration
This commit is contained in:
parent
a4b40ea450
commit
56b39367d7
|
@ -94,7 +94,7 @@
|
|||
./modules/desktop
|
||||
];
|
||||
nixos-test-vm = mkComputer
|
||||
./systems/proxmox-vm/configuration.nix
|
||||
./systems/proxmox-vm
|
||||
./home-manager/headless.nix
|
||||
[
|
||||
./modules/code-server
|
||||
|
|
|
@ -1,13 +0,0 @@
|
|||
{ ... }:
|
||||
{
|
||||
imports =
|
||||
[
|
||||
./hardware-configuration.nix
|
||||
];
|
||||
|
||||
networking = {
|
||||
hostName = "nixos-test-vm";
|
||||
interfaces.ens18.useDHCP = true;
|
||||
};
|
||||
}
|
||||
|
|
@ -24,7 +24,14 @@
|
|||
device = "10.7.89.108:raspi_data";
|
||||
fsType = "nfs";
|
||||
};
|
||||
|
||||
networking = {
|
||||
hostName = "nixos-test-vm";
|
||||
interfaces.ens18.useDHCP = true;
|
||||
};
|
||||
|
||||
swapDevices = [
|
||||
{ device = "/dev/disk/by-label/swap"; }
|
||||
];
|
||||
}
|
||||
|
Loading…
Reference in New Issue