nixos/system76: fix evaluation

This commit is contained in:
Jörg Thalheim 2021-06-26 15:16:59 +02:00
parent 40bb731ec7
commit 07cd950ab1
No known key found for this signature in database
GPG key ID: B3F5D81B0C6967C4

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 ];