From 07cd950ab1a4280607a4ab3366698c578b9a038e Mon Sep 17 00:00:00 2001 From: Jörg Thalheim Date: Sat, 26 Jun 2021 15:16:59 +0200 Subject: nixos/system76: fix evaluation --- nixos/modules/hardware/system-76.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'nixos/modules/hardware/system-76.nix') diff --git a/nixos/modules/hardware/system-76.nix b/nixos/modules/hardware/system-76.nix index 3a50c5aa0f0cc..d4896541dbae4 100644 --- a/nixos/modules/hardware/system-76.nix +++ b/nixos/modules/hardware/system-76.nix @@ -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 ]; -- cgit 1.4.1