summary refs log tree commit diff
diff options
context:
space:
mode:
authorJörg Thalheim <joerg@thalheim.io>2021-06-26 15:16:59 +0200
committerJörg Thalheim <joerg@thalheim.io>2021-06-26 15:16:59 +0200
commit07cd950ab1a4280607a4ab3366698c578b9a038e (patch)
tree7a2d2f581b82ac1ec6c36cffa010498984c4acab
parent40bb731ec71bdd7e85ae8c00208d90042e98ce21 (diff)
downloadnixpkgs-07cd950ab1a4280607a4ab3366698c578b9a038e.tar
nixpkgs-07cd950ab1a4280607a4ab3366698c578b9a038e.tar.gz
nixpkgs-07cd950ab1a4280607a4ab3366698c578b9a038e.tar.bz2
nixpkgs-07cd950ab1a4280607a4ab3366698c578b9a038e.tar.lz
nixpkgs-07cd950ab1a4280607a4ab3366698c578b9a038e.tar.xz
nixpkgs-07cd950ab1a4280607a4ab3366698c578b9a038e.tar.zst
nixpkgs-07cd950ab1a4280607a4ab3366698c578b9a038e.zip
nixos/system76: fix evaluation
-rw-r--r--nixos/modules/hardware/system-76.nix2
1 files changed, 1 insertions, 1 deletions
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 ];