mirror of
https://github.com/Gerg-L/nixos.git
synced 2025-12-10 00:43:56 -05:00
fix kernel
This commit is contained in:
parent
190afcb973
commit
a85607d1c0
3 changed files with 22 additions and 23 deletions
|
|
@ -40,6 +40,8 @@ in
|
|||
};
|
||||
};
|
||||
systemd = {
|
||||
# For linuxManualConfig to work:
|
||||
strip = lib.mkForce false;
|
||||
network = {
|
||||
enable = true;
|
||||
networks.enp11s0 = {
|
||||
|
|
@ -95,13 +97,12 @@ in
|
|||
timeout = lib.mkForce 5;
|
||||
efi.efiSysMountPoint = "/efi22";
|
||||
};
|
||||
|
||||
kernelPackages = pkgs.linuxPackagesFor (
|
||||
let
|
||||
version = "6.10.11";
|
||||
version = "6.12.11";
|
||||
src = pkgs.fetchurl {
|
||||
url = "mirror://kernel/linux/kernel/v${builtins.head (lib.splitVersion version)}.x/linux-${version}.tar.xz";
|
||||
hash = "sha256-+02gRvjBhRWfRTfe2IejCsxp2RxVWg/3+rxFIPWaMJY=";
|
||||
hash = "sha256-R1Fy/b2HoVPxI6V5Umcudzvbba9bWKQX0aXkGfz+7Ek=";
|
||||
};
|
||||
in
|
||||
(pkgs.linuxManualConfig {
|
||||
|
|
|
|||
|
|
@ -1,7 +1,6 @@
|
|||
{
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
}:
|
||||
{
|
||||
#link some stuff
|
||||
|
|
@ -23,7 +22,6 @@
|
|||
supportedFilesystems.ntfs = true;
|
||||
|
||||
zfs = {
|
||||
package = pkgs.zfs_unstable;
|
||||
devNodes = "/dev/disk/by-id/";
|
||||
forceImportAll = true;
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue