57 lines
		
	
	
		
			1.7 KiB
		
	
	
	
		
			Nix
		
	
	
	
	
	
			
		
		
	
	
			57 lines
		
	
	
		
			1.7 KiB
		
	
	
	
		
			Nix
		
	
	
	
	
	
| # 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 + "/installer/scan/not-detected.nix") ];
 | ||
| 
 | ||
|   boot.initrd.availableKernelModules = [
 | ||
|     "nvme"
 | ||
|     "xhci_pci"
 | ||
|     "ahci"
 | ||
|     "usbhid"
 | ||
|     "usb_storage"
 | ||
|     "sd_mod"
 | ||
|   ];
 | ||
|   boot.initrd.kernelModules = [ ];
 | ||
|   boot.kernelModules = [
 | ||
|     "kvm-amd"
 | ||
|     "v4l2loopback"
 | ||
|   ];
 | ||
|   boot.extraModulePackages = with config.boot.kernelPackages; [
 | ||
|     v4l2loopback
 | ||
|   ];
 | ||
| 
 | ||
|   fileSystems."/" = {
 | ||
|     device = "/dev/disk/by-uuid/a7d4b697-fffa-4bcb-9dd7-cbbd6121a50c";
 | ||
|     fsType = "xfs";
 | ||
|   };
 | ||
| 
 | ||
|   boot.initrd.luks.devices."root".device = "/dev/disk/by-uuid/be82b184-3cc7-483b-9069-f7797f51c853";
 | ||
| 
 | ||
|   fileSystems."/boot" = {
 | ||
|     device = "/dev/disk/by-uuid/DC0C-AAB3";
 | ||
|     fsType = "vfat";
 | ||
|   };
 | ||
| 
 | ||
|   swapDevices = [ { device = "/dev/disk/by-uuid/2284e9c6-c168-4d4f-ba6a-d270f1ae245d"; } ];
 | ||
| 
 | ||
|   # Enables DHCP on each ethernet and wireless interface. In case of scripted networking
 | ||
|   # (the default) this is the recommended approach. When using systemd-networkd it's
 | ||
|   # still possible to use this option, but it's recommended to use it in conjunction
 | ||
|   # with explicit per-interface declarations with `networking.interfaces.<interface>.useDHCP`.
 | ||
|   networking.useDHCP = lib.mkDefault true;
 | ||
|   # networking.interfaces.enp12s0.useDHCP = lib.mkDefault true;
 | ||
|   # networking.interfaces.wlp13s0.useDHCP = lib.mkDefault true;
 | ||
| 
 | ||
|   nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
 | ||
|   hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
 | ||
| }
 |