Odin: move kernel settings to common configuration
This commit is contained in:
parent
0f8a8ffcca
commit
7e1316832f
3 changed files with 2 additions and 7 deletions
|
|
@ -5,6 +5,7 @@ with lib; {
|
|||
boot.loader.systemd-boot.enable = true;
|
||||
boot.loader.efi.canTouchEfiVariables = true;
|
||||
boot.initrd.checkJournalingFS = true;
|
||||
boot.kernelPackages = pkgs.linuxPackages_latest;
|
||||
boot.extraModulePackages = with config.boot.kernelPackages; [ v4l2loopback ];
|
||||
|
||||
# # Cross-build arm
|
||||
|
|
|
|||
|
|
@ -2,12 +2,9 @@
|
|||
# your system. Help is available in the configuration.nix(5) man page
|
||||
# and in the NixOS manual (accessible by running ‘nixos-help’).
|
||||
|
||||
{ pkgs, ... }:
|
||||
|
||||
{
|
||||
boot = {
|
||||
initrd.kernelModules = [ "i915" ];
|
||||
kernelPackages = pkgs.linuxPackages_latest;
|
||||
blacklistedKernelModules = [ "nouveau" "nvidia" ];
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -3,10 +3,7 @@
|
|||
# and in the NixOS manual (accessible by running ‘nixos-help’).
|
||||
{ pkgs, ... }: {
|
||||
|
||||
boot = {
|
||||
initrd.kernelModules = [ "i915" ];
|
||||
kernelPackages = pkgs.linuxPackages_latest;
|
||||
};
|
||||
boot = { initrd.kernelModules = [ "i915" ]; };
|
||||
|
||||
hardware.nvidia = {
|
||||
# modesetting.enable = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue