# 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 = [ "xhci_pci" "ahci" "ehci_pci" "usbhid" "usb_storage" "uas" "sd_mod" "tg3" ]; boot.initrd.kernelModules = [ "dm-snapshot" ]; boot.kernelModules = [ "kvm-amd" ]; boot.extraModulePackages = [ ]; boot.initrd.luks.devices."cryptroot".device = "/dev/sdb2"; fileSystems."/" = { device = "none"; fsType = "tmpfs"; }; fileSystems."/media/internal" = { device = "/dev/disk/by-uuid/5cf314a8-82f4-4037-a724-62d2ff226cff"; fsType = "ext4"; }; fileSystems."/nix" = { device = "/dev/disk/by-uuid/837cc93f-6d9a-4bfd-b089-29ac6d68127c"; fsType = "ext4"; }; fileSystems."/persist" = { device = "/dev/disk/by-uuid/a7711118-51b0-4d84-8f18-ef2e06084e05"; fsType = "ext4"; neededForBoot = true; }; fileSystems."/home" = { device = "/dev/disk/by-uuid/0965d496-ffad-4a8d-9de7-28af903baf16"; fsType = "ext4"; }; fileSystems."/boot" = { device = "/dev/disk/by-uuid/991E-79C1"; fsType = "vfat"; }; swapDevices = [ { device = "/dev/disk/by-uuid/0ef8dbbd-2832-4fb2-8a52-86682822f769"; } ]; # 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..useDHCP`. # networking.useDHCP = lib.mkDefault true; networking.interfaces.enp2s0f0.useDHCP = lib.mkDefault true; networking.interfaces.enp2s0f1.useDHCP = lib.mkDefault true; nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware; }