git ssb


0+

cryptix / dotcryptix



Tree: c475ad20c2c71140f39209984924cedf63e14d6d

Files: c475ad20c2c71140f39209984924cedf63e14d6d / hardware-configuration.nix

1293 bytesRaw
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, ... }:
5
6{
7 imports =
8 [ <nixpkgs/nixos/modules/installer/scan/not-detected.nix>
9 ];
10
11 hardware = {
12 bluetooth.enable = false;
13 pulseaudio.enable = true;
14 enableAllFirmware = true;
15 };
16
17 boot.initrd.luks.devices = [ { name = "luksroot"; device = "/dev/sda2"; } ];
18 boot.initrd.availableKernelModules = [
19 "ehci_pci"
20 "ahci"
21 "usb_storage"
22 "sd_mod"
23 "sdhci_pci"
24 ];
25 boot.initrd.kernelModules = [
26 # rootfs, hardware specific
27 "ahci"
28 "aesni-intel"
29 #luks
30 "aes"
31 "sha256"
32 "xts"
33 ];
34
35 boot.kernelModules = [
36 "msr"
37 ];
38
39 boot.extraModulePackages = [ ];
40
41 # disabled for fbcon and i915 to kick in or to disable the kernelParams
42 # XXX: investigate
43 boot.vesa = false;
44
45
46
47
48 fileSystems."/" =
49 { device = "cryptpool/root/nixos";
50 fsType = "zfs";
51 };
52
53 fileSystems."/home" =
54 { device = "cryptpool/home";
55 fsType = "zfs";
56 };
57
58 fileSystems."/boot" =
59 { device = "/dev/sda1";
60 };
61
62 swapDevices = [ { device = "/dev/zvol/cryptpool/swap"; } ];
63
64 nix.extraOptions = ''
65 build-cores = 4
66 '';
67 nix.maxJobs = lib.mkDefault 4;
68}
69

Built with git-ssb-web