add daedalusvm
This commit is contained in:
parent
6e94311435
commit
76679c2275
22 changed files with 121 additions and 73 deletions
21
hosts/daedalusvm/hardware-configuration.nix
Normal file
21
hosts/daedalusvm/hardware-configuration.nix
Normal 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";
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue