# 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, ... }: { imports = [ ]; boot.initrd.availableKernelModules = [ "ehci_pci" "ahci" "uas" "sd_mod" ]; boot.initrd.kernelModules = [ "dm-snapshot" ]; boot.kernelModules = [ "kvm-intel" ]; boot.extraModulePackages = [ ]; # Use gc.automatic to keep disk space under control. nix.autoOptimiseStore = true; nix.gc.automatic = true; #nix.gc.dates = ""; #nix.gc.options = ""; # Clean /tmp automatically on boot. boot.cleanTmpDir = true; fileSystems."/" = { device = "rpool/root"; fsType = "zfs"; }; fileSystems."/boot" = { device = "bpool/boot"; fsType = "zfs"; }; fileSystems."/boot/efi" = { device = "/dev/disk/by-uuid/62E6-E65F"; fsType = "vfat"; }; fileSystems."/home" = { device = "rpool/home"; fsType = "zfs"; }; fileSystems."/nix" = { device = "rpool/nix"; fsType = "zfs"; }; fileSystems."/var" = { device = "rpool/var"; fsType = "zfs"; }; fileSystems."/var/cache" = { device = "rpool/var/cache"; fsType = "zfs"; }; fileSystems."/var/mail" = { device = "rpool/var/mail"; fsType = "zfs"; }; fileSystems."/var/tmp" = { device = "rpool/var/tmp"; fsType = "zfs"; }; fileSystems."/var/www" = { device = "rpool/var/www"; fsType = "zfs"; }; swapDevices = [ { device = "/dev/disk/by-uuid/ce776e6d-0a57-4d96-ad57-4b812ad6ab99"; } ]; nix.maxJobs = lib.mkDefault 4; powerManagement.cpuFreqGovernor = lib.mkDefault "ondemand"; }