nixos-config: add live-usb-transcend

This commit is contained in:
steveej 2018-10-28 18:02:33 +01:00
parent ceecf7b412
commit 68ca11e4db
6 changed files with 559 additions and 0 deletions

View file

@ -0,0 +1,23 @@
{ config, lib, pkgs, ... }:
{
boot.kernelPackages = pkgs.linuxPackages_latest;
# Bootloader, initrd and Kernel
boot.loader.grub = {
enable = true;
enableCryptodisk = true;
version = 2;
};
# workaround to disable CPU wining
# current CPU has 9 idle cstates.
# Workaround for nm-pptp to enforce module load
boot.kernelModules = [
"nf_conntrack_proto_gre"
"nf_conntrack_pptp"
];
boot.tmpOnTmpfs = true;
}