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>
18 "/dev/disk/by-id/ata-Samsung_SSD_840_EVO_250GB_S1DBNSAF340110R"
22 { devices = [ "${disk_id}" ];
23 path = "/boot${bootnum}";
30 canTouchEfiVariables = true;
31 efiSysMountPoint = "/boot/efi";
32 efiInstallAsRemovable = false;
38 availableKernelModules = [
39 "ehci_pci" "ahci" "uas" "sd_mod"
40 # Made the AES modules available at initrd,
41 # to speedup the deciphering of the root.
48 boot.kernelModules = [ ];
49 boot.extraModulePackages = [ ];
53 "console=ttyS0,115200n8"
54 # DEBUG: "boot.shell_on_fail"
59 "vm.vfs_cache_pressure" = 50;
63 # Clean /tmp automatically on boot.
64 boot.cleanTmpDir = true;
67 { device = "rpool/root";
72 { device = "/dev/disk/by-uuid/dc3c5387-17d2-43b3-bfa2-bf73afacca07";
76 { device = "bpool/boot";
81 fileSystems."/boot/efi" =
82 { device = "/dev/disk/by-uuid/62E6-E65F";
87 { device = "rpool/home";
92 { device = "rpool/nix";
96 fileSystems."/nix/var" =
97 { device = "rpool/nix/var";
102 { device = "rpool/var";
106 fileSystems."/var/cache" =
107 { device = "rpool/var/cache";
111 fileSystems."/var/log" =
112 { device = "rpool/var/log";
116 fileSystems."/var/mail" =
117 { device = "rpool/var/mail";
121 fileSystems."/var/tmp" =
122 { device = "rpool/var/tmp";
126 fileSystems."/var/www" =
127 { device = "rpool/var/www";
132 [ { device = "/dev/disk/by-partuuid/6b1eaa35-776b-4e60-b21e-7bcee535dd8b";
135 cipher = "aes-xts-plain64";
136 source = "/dev/urandom";
141 nix.maxJobs = lib.mkDefault 4;
142 powerManagement.cpuFreqGovernor = lib.mkDefault "ondemand";