From 07cd950ab1a4280607a4ab3366698c578b9a038e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Sat, 26 Jun 2021 15:16:59 +0200 Subject: [PATCH] nixos/system76: fix evaluation --- nixos/modules/hardware/system-76.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/modules/hardware/system-76.nix b/nixos/modules/hardware/system-76.nix index 3a50c5aa0f0..d4896541dba 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 ];