Merge pull request #128198 from Mic92/system76

nixos/system76: fix evaluation
This commit is contained in:
Jörg Thalheim 2021-06-26 16:38:34 +02:00 committed by GitHub
commit 2ed5dce151
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -35,7 +35,7 @@ let
};
};
power-pkg = pkgs.system76-power;
power-pkg = config.boot.kernelPackages.system76-power;
powerConfig = mkIf cfg.power-daemon.enable {
# Make system76-power usable by root from the command line.
environment.systemPackages = [ power-pkg ];