Work for CI building

This commit is contained in:
kat witch 2021-11-05 22:35:29 +00:00
parent 5c58cfe177
commit c6856c69d6
No known key found for this signature in database
GPG key ID: 1B477797DCA5EC72
3 changed files with 5 additions and 5 deletions

View file

@ -1,7 +1,7 @@
{ config, lib, pkgs, ... }: with lib;
{
boot.kernelPackages = lib.mkDefault pkgs.linuxPackages_latest;
boot.kernelPackages = mkIf (builtins.getEnv "CI_PLATFORM" == "impure") (mkDefault pkgs.linuxPackages_latest);
hardware.enableRedistributableFirmware = lib.mkDefault true;
boot.tmpOnTmpfs = true;
boot.zfs.enableUnstable = mkIf (elem "zfs" config.boot.supportedFilesystems) true;