diff options
author | Bryan Gardiner <bog@khumba.net> | 2021-04-06 19:12:33 -0700 |
---|---|---|
committer | Bryan Gardiner <bog@khumba.net> | 2021-04-11 20:00:04 -0700 |
commit | 1ccae60c2cf7c5fe7caa7adad234532b92fb293d (patch) | |
tree | f0a88491ffd0f54b4fed3a09914ce0efd0d6d858 /nixos/modules/hardware/system-76.nix | |
parent | 0c27bb45a0e3a1c5f0834cdc6764671f303ea9b0 (diff) |
nixos/system76: add system76-firmware to environment.systemPackages
Diffstat (limited to 'nixos/modules/hardware/system-76.nix')
-rw-r--r-- | nixos/modules/hardware/system-76.nix | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/nixos/modules/hardware/system-76.nix b/nixos/modules/hardware/system-76.nix index 48eb63f4f22de..ed661fd3303bb 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 = { |