about summary refs log tree commit diff
path: root/nixos
diff options
context:
space:
mode:
authorJan Tojnar <jtojnar@gmail.com>2018-08-08 11:57:39 +0200
committerGitHub <noreply@github.com>2018-08-08 11:57:39 +0200
commit83a18e14d9132e0255c589b2acee62fff022c00c (patch)
treebabf4dfb83edf3591e0a01bf40f2ecf1135f778a /nixos
parent6342ab656cc26526961622d3dd88100138b93fbb (diff)
parent82bf0a2cd21f6d180515da0691c3a5ec0b51fc1c (diff)
downloadnixlib-83a18e14d9132e0255c589b2acee62fff022c00c.tar
nixlib-83a18e14d9132e0255c589b2acee62fff022c00c.tar.gz
nixlib-83a18e14d9132e0255c589b2acee62fff022c00c.tar.bz2
nixlib-83a18e14d9132e0255c589b2acee62fff022c00c.tar.lz
nixlib-83a18e14d9132e0255c589b2acee62fff022c00c.tar.xz
nixlib-83a18e14d9132e0255c589b2acee62fff022c00c.tar.zst
nixlib-83a18e14d9132e0255c589b2acee62fff022c00c.zip
Merge pull request #39792 from Moredread/fwupd
WIP fwupd: 1.0.5 -> 1.1.0
Diffstat (limited to 'nixos')
-rw-r--r--nixos/modules/services/hardware/fwupd.nix7
1 files changed, 7 insertions, 0 deletions
diff --git a/nixos/modules/services/hardware/fwupd.nix b/nixos/modules/services/hardware/fwupd.nix
index d97d690920a6..7743f81fd622 100644
--- a/nixos/modules/services/hardware/fwupd.nix
+++ b/nixos/modules/services/hardware/fwupd.nix
@@ -71,6 +71,13 @@ in {
           BlacklistPlugins=${lib.concatStringsSep ";" cfg.blacklistPlugins}
         '';
       };
+      "fwupd/uefi.conf" = {
+        source = pkgs.writeText "uefi.conf" ''
+          [uefi]
+          OverrideESPMountPoint=${config.boot.loader.efi.efiSysMountPoint}
+        '';
+      };
+
     } // originalEtc // extraTrustedKeys;
 
     services.dbus.packages = [ pkgs.fwupd ];