1# Do not modify this file! It was generated by ‘nixos-generate-config’
2# and may be overwritten by future invocations. Please make changes
3# to /etc/nixos/configuration.nix instead.
4{ config, lib, pkgs, modulesPath, ... }:
5
6{
7 imports =
8 [ (modulesPath + "/installer/scan/not-detected.nix")
9 ];
10
11 boot.initrd.availableKernelModules = [ "nvme" "xhci_pci" "ahci" "usb_storage" "usbhid" "sd_mod" ];
12 boot.initrd.kernelModules = [ ];
13 boot.kernelModules = [ "kvm-amd" ];
14 boot.extraModulePackages = [ ];
15
16 fileSystems."/" =
17 { device = "/dev/disk/by-uuid/77d1988d-5ac7-444c-a856-292742191a2f";
18 fsType = "ext4";
19 };
20
21 fileSystems."/boot" =
22 { device = "/dev/disk/by-uuid/62F8-3117";
23 fsType = "vfat";
24 options = [ "fmask=0022" "dmask=0022" ];
25 };
26
27 fileSystems."/home" =
28 { device = "/dev/disk/by-uuid/4db06561-1474-402e-989f-539e416e2663";
29 fsType = "ext4";
30 };
31
32 swapDevices = [ ];
33
34 # Enables DHCP on each ethernet and wireless interface. In case of scripted networking
35 # (the default) this is the recommended approach. When using systemd-networkd it's
36 # still possible to use this option, but it's recommended to use it in conjunction
37 # with explicit per-interface declarations with `networking.interfaces.<interface>.useDHCP`.
38 networking.useDHCP = lib.mkDefault true;
39 # networking.interfaces.enp7s0.useDHCP = lib.mkDefault true;
40
41 nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
42 hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
43}