nixos/system76: fix evaluation
This commit is contained in:
parent
40bb731ec7
commit
07cd950ab1
|
@ -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 ];
|
||||
|
|
Loading…
Reference in a new issue