added system/
This commit is contained in:
parent
9ff402fd12
commit
f7f02a2f26
|
@ -12,6 +12,7 @@
|
|||
./dev
|
||||
./games
|
||||
./hardware
|
||||
./system
|
||||
];
|
||||
|
||||
# This value determines the NixOS release from which the default
|
||||
|
|
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
imports = [
|
||||
./grub.nix
|
||||
./kernel.nix
|
||||
];
|
||||
}
|
|
@ -27,21 +27,6 @@
|
|||
};
|
||||
};
|
||||
|
||||
boot.kernelPackages = pkgs.linuxPackages_latest;
|
||||
|
||||
# extra enabled kernel modules
|
||||
boot.kernelModules = [
|
||||
"sg" # for generic SCSI devices such as /dev/sg0
|
||||
];
|
||||
|
||||
# Kernel parameter on boot
|
||||
boot.kernelParams = [
|
||||
"quiet"
|
||||
"splash"
|
||||
"psi=1"
|
||||
"boot_delay=0"
|
||||
];
|
||||
|
||||
# Setup keyfile
|
||||
boot.initrd.secrets = {
|
||||
"/crypto_keyfile.bin" = null;
|
|
@ -0,0 +1,20 @@
|
|||
{ pkgs, ... }:
|
||||
{
|
||||
boot.kernelPackages = pkgs.linuxPackages_latest;
|
||||
|
||||
# extra enabled kernel modules
|
||||
boot.kernelModules = [
|
||||
"sg" # for generic SCSI devices such as /dev/sg0
|
||||
];
|
||||
|
||||
boot.consoleLogLevel = 0;
|
||||
|
||||
# Kernel parameter on boot
|
||||
boot.kernelParams = [
|
||||
"quiet"
|
||||
"udev.log_level=3"
|
||||
"splash"
|
||||
"psi=1"
|
||||
"boot_delay=0"
|
||||
];
|
||||
}
|
Loading…
Reference in New Issue