# 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" ]; boot.extraModulePackages = [ ]; boot.supportedFilesystems = [ "zfs" "ntfs" ]; services.zfs.autoScrub.enable = true; services.zfs.autoSnapshot.enable = true; fileSystems."/" = { device = "/dev/disk/by-uuid/034b9530-2c01-4108-9dbb-44557eddf6d5"; fsType = "ext4"; }; fileSystems."/boot" = { device = "/dev/disk/by-uuid/9D45-AA14"; fsType = "vfat"; options = [ "fmask=0077" "dmask=0077" ]; }; fileSystems."/storage0" = { device = "storage0"; fsType = "zfs"; }; fileSystems."/storage1" = { device = "storage1"; fsType = "zfs"; }; swapDevices = [{ device = "/dev/disk/by-uuid/f7ce07eb-563c-4c65-b465-b6c1ab88aede"; }]; # 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.enp4s0.useDHCP = lib.mkDefault true; nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware; }