# 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" "ehci_pci" "ahci" "usb_storage" "usbhid" "sd_mod" ]; boot.initrd.kernelModules = [ ]; boot.kernelModules = [ "kvm-intel" ]; boot.extraModulePackages = [ ]; # Enable ZFS support for storage pool only boot.supportedFilesystems = [ "zfs" ]; boot.initrd.supportedFilesystems = [ "zfs" ]; # ZFS Configuration - only for storage pool boot.zfs.extraPools = [ "storage" ]; # OS remains on ext4 fileSystems."/" = { device = "/dev/disk/by-uuid/e7fc0e32-b9e5-4080-859e-fe9dea60823d"; fsType = "ext4"; }; # ZFS storage datasets - removed auto-mounting to prevent boot issues # Manual mounting required: # mkdir -p /mnt/storage # mount -t zfs storage /mnt/storage # mount -t zfs storage/media /mnt/storage/media fileSystems."/boot" = { device = "/dev/disk/by-uuid/2C7A-9F08"; 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.enp0s25.useDHCP = lib.mkDefault true; nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware; }