35 lines
1.1 KiB
Nix
Executable File
35 lines
1.1 KiB
Nix
Executable File
# 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 = [ ];
|
||
|
||
boot.initrd.availableKernelModules = [ "nvme" "xhci_pci" "usb_storage" "ahci" "sd_mod" "sr_mod" ];
|
||
boot.initrd.kernelModules = [ ];
|
||
boot.kernelModules = [ "v4l2loopback" "kvm-amd" ];
|
||
boot.kernelPackages = pkgs.linuxPackages_latest;
|
||
boot.extraModulePackages = with config.boot.kernelPackages; [ v4l2loopback.out ];
|
||
|
||
virtualisation.libvirtd.enable = true;
|
||
|
||
fileSystems."/" =
|
||
{ device = "/dev/disk/by-uuid/6f1fc595-b751-4917-ba87-7b8b02713e6b";
|
||
fsType = "ext4";
|
||
};
|
||
|
||
fileSystems."/boot/efi" =
|
||
{ device = "/dev/disk/by-uuid/B532-133F";
|
||
fsType = "vfat";
|
||
};
|
||
|
||
swapDevices =
|
||
[ { device = "/dev/disk/by-uuid/72ff6aac-d445-4e46-a474-2f1d9be7ea87"; }
|
||
];
|
||
|
||
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
||
hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
||
hardware.opengl.driSupport32Bit = true;
|
||
}
|