From 1ccae60c2cf7c5fe7caa7adad234532b92fb293d Mon Sep 17 00:00:00 2001 From: Bryan Gardiner Date: Tue, 6 Apr 2021 19:12:33 -0700 Subject: [PATCH] nixos/system76: add system76-firmware to environment.systemPackages --- nixos/modules/hardware/system-76.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/nixos/modules/hardware/system-76.nix b/nixos/modules/hardware/system-76.nix index 48eb63f4f22d..ed661fd3303b 100644 --- a/nixos/modules/hardware/system-76.nix +++ b/nixos/modules/hardware/system-76.nix @@ -17,6 +17,9 @@ let firmware-pkg = pkgs.system76-firmware; firmwareConfig = mkIf cfg.firmware-daemon.enable { + # Make system76-firmware-cli usable by root from the command line. + environment.systemPackages = [ firmware-pkg ]; + services.dbus.packages = [ firmware-pkg ]; systemd.services.system76-firmware-daemon = {