1 # Do not modify this file! It was generated by ‘nixos-generate-config’
2 # and may be overwritten by future invocations. Please make changes
3 # to /etc/nixos/configuration.nix instead.
4 { config, lib, pkgs, ... }:
8 [ <nixpkgs/nixos/modules/installer/scan/not-detected.nix>
11 boot.initrd.availableKernelModules = [ "ehci_pci" "ahci" "uas" "sd_mod" ];
12 boot.initrd.kernelModules = [ "dm-snapshot" ];
13 boot.kernelModules = [ "kvm-intel" ];
14 boot.extraModulePackages = [ ];
17 # Use gc.automatic to keep disk space under control.
18 nix.autoOptimiseStore = true;
19 nix.gc.automatic = true;
23 # Clean /tmp automatically on boot.
24 boot.cleanTmpDir = true;
27 { device = "rpool/root";
32 { device = "bpool/boot";
36 fileSystems."/boot/efi" =
37 { device = "/dev/disk/by-uuid/62E6-E65F";
42 { device = "rpool/home";
47 { device = "rpool/nix";
52 { device = "rpool/var";
56 fileSystems."/var/cache" =
57 { device = "rpool/var/cache";
61 fileSystems."/var/mail" =
62 { device = "rpool/var/mail";
66 fileSystems."/var/tmp" =
67 { device = "rpool/var/tmp";
71 fileSystems."/var/www" =
72 { device = "rpool/var/www";
77 [ { device = "/dev/disk/by-uuid/ce776e6d-0a57-4d96-ad57-4b812ad6ab99"; }
80 nix.maxJobs = lib.mkDefault 4;
81 powerManagement.cpuFreqGovernor = lib.mkDefault "ondemand";