hosts/TITAN: use custom bcachefs kernel

This commit is contained in:
Max Headroom 2022-12-08 16:38:52 +01:00
parent 4250a27877
commit 09de056c16

View file

@ -1,5 +1,8 @@
{ config, lib, pkgs, aspect, inputs, hosts, ... }: { config, lib, pkgs, aspect, inputs, hosts, ... }:
let
inherit (inputs.self.packages.${pkgs.system}) bcachefs-tools linux-bcachefs;
in
{ {
imports = [ imports = [
@ -27,10 +30,14 @@
boot.loader.systemd-boot.enable = true; boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true; boot.loader.efi.canTouchEfiVariables = true;
boot.kernelPackages = lib.mkForce (pkgs.linuxPackagesFor (pkgs.linux_testing_bcachefs.override { boot.kernelPackages = lib.mkForce (pkgs.linuxPackagesFor (linux-bcachefs.override {
ignoreConfigErrors = true; ignoreConfigErrors = true;
})); }));
nixpkgs.overlays = lib.singleton (_: _: {
inherit bcachefs-tools;
});
networking.hostName = "TITAN"; networking.hostName = "TITAN";
time.timeZone = "Europe/Vienna"; time.timeZone = "Europe/Vienna";