merge configuration and hardware-configuration

This commit is contained in:
Andreas Zweili 2022-01-10 21:00:25 +01:00
parent a4b40ea450
commit 56b39367d7
3 changed files with 8 additions and 14 deletions

View File

@ -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

View File

@ -1,13 +0,0 @@
{ ... }:
{
imports =
[
./hardware-configuration.nix
];
networking = {
hostName = "nixos-test-vm";
interfaces.ens18.useDHCP = true;
};
}

View File

@ -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"; }
];
}