From 09de056c1698b01ae8254b5273bbe9281126af4b Mon Sep 17 00:00:00 2001 From: Max Date: Thu, 8 Dec 2022 16:38:52 +0100 Subject: [PATCH] hosts/TITAN: use custom bcachefs kernel --- hosts/TITAN/system.nix | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/hosts/TITAN/system.nix b/hosts/TITAN/system.nix index 2e4cc0a..d68b314 100644 --- a/hosts/TITAN/system.nix +++ b/hosts/TITAN/system.nix @@ -1,5 +1,8 @@ { config, lib, pkgs, aspect, inputs, hosts, ... }: +let + inherit (inputs.self.packages.${pkgs.system}) bcachefs-tools linux-bcachefs; +in { imports = [ @@ -27,10 +30,14 @@ boot.loader.systemd-boot.enable = 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; })); + nixpkgs.overlays = lib.singleton (_: _: { + inherit bcachefs-tools; + }); + networking.hostName = "TITAN"; time.timeZone = "Europe/Vienna";