zaneyos/config/system/kernel/testing.nix

10 lines
321 B
Nix

# For the adventurous people
# It's not listed in the list of possible options,
# but the ones who want to try it can do so.
{ config, lib, pkgs, host, ... }:
let inherit (import ../../../hosts/${host}/options.nix) theKernel; in
lib.mkIf (theKernel == "testing") {
boot.kernelPackages = pkgs.linuxPackages_testing;
}