Temporarily use different nix repo

Pin kernel... adam :(

symlink zpool cache because eelco told me so
This commit is contained in:
Gerg-L 2024-09-29 15:10:47 -04:00
parent fb8fe4b396
commit 70de5227fd
Signed by: gerg-l
SSH key fingerprint: SHA256:FPYDHIkvMocr4wdmZXpgpJjsb2Tw6rASs2ISPbOb0KI
5 changed files with 26 additions and 12 deletions

View file

@ -95,12 +95,16 @@ in
kernelPackages = pkgs.linuxPackagesFor (
let
inherit (config.boot.zfs.package.latestCompatibleLinuxPackages) kernel;
version = "6.10.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=";
};
in
(pkgs.linuxManualConfig {
inherit (kernel) src;
inherit src;
inherit (config.boot) kernelPatches;
version = "${kernel.version}-gerg";
version = "${version}-gerg";
config = {
CONFIG_RUST = "y";
CONFIG_MODULES = "y";

View file

@ -6,6 +6,8 @@
{
#link some stuff
systemd.tmpfiles.rules = [
"L+ /etc/zfs/zpool.cache - - - - /persist/zfs/zpool.cache"
"L+ /etc/secureboot - - - - /persist/secureboot"
"L+ /etc/ssh/ssh_host_ed25519_key - - - - /persist/ssh/ssh_host_ed25519_key"
"L+ /etc/ssh/ssh_host_ed25519_key.pub - - - - /persist/ssh/ssh_host_ed25519_key.pub"