Skip to content

Instantly share code, notes, and snippets.

@cleverca22
Created February 24, 2017 02:42
Show Gist options
  • Save cleverca22/21ce2134bd507af19996eac5613d2fb3 to your computer and use it in GitHub Desktop.
Save cleverca22/21ce2134bd507af19996eac5613d2fb3 to your computer and use it in GitHub Desktop.
boot = {
tmpOnTmpfs = false;
loader.grub = {
memtest86.enable = true;
version = 2;
enable = true;
device = "/dev/sda";
};
initrd.availableKernelModules = [ ];
kernelParams = [
"audit=0"
#"console=hvc0"
"boot.shell_on_fail"
#"vm.min_free_kbytes=4194304"
"zfs.zio_taskq_batch_pct=50"
"spl.spl_taskq_thread_bind=1"
"isolcpus=0"
];
extraModprobeConfig = ''
options snd_hda_intel enable=1,0
install dccp /run/current-system/sw/bin/false
'';
extraModulePackages = [ config.boot.kernelPackages.v4l2loopback ];
zfs.enableUnstable = true;
};
@grahamc
Copy link

grahamc commented Feb 24, 2017

boot.extraModProbeConfig = ''
install dccp /run/current-system/sw/bin/false
'';

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment