# 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" "nvme" "usbhid" "usb_storage" "sd_mod" "virtio_pci" ]; boot.initrd.kernelModules = [ "dm-snapshot" ]; boot.initrd.luks.devices."backstage" = { preLVM = true; device = "/dev/disk/by-uuid/7f3ccd2d-8022-491e-baa1-675805919fd7"; }; boot.kernelModules = [ "kvm-intel" ]; boot.kernelParams = [ "zfs.zfs_arc_max=1024000000" ]; boot.extraModulePackages = [ ]; fileSystems."/" = { device = "zpool/root"; fsType = "zfs"; }; fileSystems."/home" = { device = "zpool/home"; fsType = "zfs"; }; fileSystems."/nix" = { device = "zpool/nix"; fsType = "zfs"; }; fileSystems."/nix/store" = { device = "zpool/nix/store"; fsType = "zfs"; }; fileSystems."/boot/efi" = { device = "/dev/disk/by-uuid/4E32-FA6E"; fsType = "vfat"; options = [ "fmask=0022" "dmask=0022" ]; }; swapDevices = [ { device = "/dev/mapper/backstage-swap"; } ]; # 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.hostId = "0ccd2304"; # networking.interfaces.enp1s0.useDHCP = lib.mkDefault true; nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware; }