add daedalusvm

This commit is contained in:
Philipp Hochkamp 2022-06-03 02:30:06 +02:00
parent 6e94311435
commit 76679c2275
No known key found for this signature in database
GPG key ID: 3676AB4CB36E5641
22 changed files with 121 additions and 73 deletions

View file

@ -0,0 +1,21 @@
# Do not modify this file! It was generated by nixos-generate-config
# and may be overwritten by future invocations. Please make changes
# to /etc/nixos/configuration.nix instead.
{ config, lib, pkgs, modulesPath, ... }:
{
imports = [ "${modulesPath}/profiles/qemu-guest.nix" ];
boot.initrd.availableKernelModules = [ "xhci_pci" "virtio_pci" "usbhid" "usb_storage" "sr_mod" ];
networking.interfaces.enp0s6.useDHCP = true;
swapDevices = [{ device = "/dev/disk/by-id/NIXOS_SWAP"; }];
fileSystems."/boot" = {
device = "/dev/disk/by-id/NIXOS_BOOT";
fstype = "vfat";
};
fileSystems."/" = {
device = "/dev/disk/by-id/NIXOS_ROOT";
fsType = "ext4";
};
}