# 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" "thunderbolt" "nvme" "usb_storage" "sd_mod"]; boot.initrd.kernelModules = []; boot.kernelModules = ["kvm-intel" "v4l2loopback" "intel_vsc" "intel_vsc_csi" "intel_vsc_vbus"]; boot.extraModulePackages = with config.boot.kernelPackages; [v4l2loopback tp_smapi ipu6-drivers]; boot.extraModprobeConfig = '' options thinkpad_acpi fan_control=1 options v4l2loopback exclusive_caps=1 card_label="Android Virtual Camera" ''; # boot.kernelParams = ["ipv6.disable=1"]; fileSystems."/" = { device = "rpool/root"; fsType = "zfs"; }; fileSystems."/home" = { device = "rpool/home"; fsType = "zfs"; }; fileSystems."/boot" = { device = "/dev/disk/by-uuid/5C58-A909"; fsType = "vfat"; options = ["fmask=0022" "dmask=0022"]; }; swapDevices = []; # 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.wlp0s20f3.useDHCP = lib.mkDefault true; nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware; hardware.trackpoint.enable = lib.mkDefault true; hardware.trackpoint.emulateWheel = lib.mkDefault config.hardware.trackpoint.enable; hardware.trackpoint.device = "TPPS/2 Synaptics TrackPoint"; nixpkgs.config.packageOverrides = pkgs: { zfs = pkgs.zfs_unstable; }; boot.kernelPackages = pkgs.linuxPackages_latest; hardware.firmware = with pkgs; [ ipu6-camera-bins ivsc-firmware ]; services.udev.extraRules = '' SUBSYSTEM=="intel-ipu6-psys", MODE="0660", GROUP="video" ''; }