# 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 = [ ]; fileSystems."/" = { device = "rpool/nixos/root"; fsType = "zfs"; options = [ "zfsutil" "X-mount.mkdir" ]; }; fileSystems."/nix" = { device = "rpool/nixos/nix"; fsType = "zfs"; options = [ "zfsutil" "X-mount.mkdir" ]; }; fileSystems."/home" = { device = "rpool/user/home"; fsType = "zfs"; options = [ "zfsutil" "X-mount.mkdir" ]; }; fileSystems."/var/lib" = { device = "rpool/nixos/var/lib"; fsType = "zfs"; options = [ "zfsutil" "X-mount.mkdir" ]; }; fileSystems."/var/log" = { device = "rpool/nixos/var/log"; fsType = "zfs"; options = [ "zfsutil" "X-mount.mkdir" ]; }; fileSystems."/media/bittorrent" = { device = "rpool/nixos/bittorrent"; fsType = "zfs"; options = [ "zfsutil" "X-mount.mkdir" ]; }; fileSystems."/media/libvirt" = { device = "rpool/nixos/libvirt"; fsType = "zfs"; options = [ "zfsutil" "X-mount.mkdir" ]; }; fileSystems."/boot" = { device = "/dev/disk/by-uuid/948B-11EC"; fsType = "vfat"; }; swapDevices = [ { device = "/dev/disk/by-partuuid/7ffa34d9-862b-42ff-a649-da54f7b8fbf0"; randomEncryption.enable = false; } ]; # 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.enp9s0.useDHCP = lib.mkDefault true; nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware; # high-resolution display hardware.video.hidpi.enable = lib.mkDefault true; networking.hostId = "a32bd2dc"; boot.zfs.devNodes = "/dev/disk/by-partuuid/4c6b8cfb-9643-4ff7-961e-89b097328e0e"; boot.supportedFilesystems = [ "zfs" ]; boot.kernelParams = [ "zfs.zfs_arc_max=8589934592" ]; }