diff options
author | Tad Fisher <tadfisher@gmail.com> | 2019-05-31 11:12:46 -0700 |
---|---|---|
committer | Robert Helgesson <robert@rycee.net> | 2019-06-01 12:24:30 +0200 |
commit | e25113bcf03f858c3a708211b8e520ece7f7b360 (patch) | |
tree | 1d20313132a50366766684c9b38d04d33385452d /modules | |
parent | e1535d2bd82939457e38ebc3ce23fcdceec19c91 (diff) |
browserpass: fix host/policy link sources
Diffstat (limited to 'modules')
-rw-r--r-- | modules/programs/browserpass.nix | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/modules/programs/browserpass.nix b/modules/programs/browserpass.nix index de549513a61..7af5e8f8756 100644 --- a/modules/programs/browserpass.nix +++ b/modules/programs/browserpass.nix @@ -32,11 +32,11 @@ in { in [ { target = "${dir}/com.github.browserpass.native.json"; - source = "${pkgs.browserpass}/etc/chrome-host.json"; + source = "${pkgs.browserpass}/lib/browserpass/hosts/chromium/com.github.browserpass.native.json"; } { target = "${dir}/../policies/managed/com.github.browserpass.native.json"; - source = "${pkgs.browserpass}/etc/chrome-policy.json"; + source = "${pkgs.browserpass}/lib/browserpass/policies/chromium/com.github.browserpass.native.json"; } ] else if x == "chromium" then @@ -46,11 +46,11 @@ in { in [ { target = "${dir}/com.github.browserpass.native.json"; - source = "${pkgs.browserpass}/etc/chrome-host.json"; + source = "${pkgs.browserpass}/lib/browserpass/hosts/chromium/com.github.browserpass.native.json"; } { target = "${dir}/../policies/managed/com.github.browserpass.native.json"; - source = "${pkgs.browserpass}/etc/chrome-policy.json"; + source = "${pkgs.browserpass}/lib/browserpass/policies/chromium/com.github.browserpass.native.json"; } ] else if x == "firefox" then @@ -59,7 +59,7 @@ in { then "Library/Application Support/Mozilla/NativeMessagingHosts" else ".mozilla/native-messaging-hosts") + "/com.github.browserpass.native.json"; - source = "${pkgs.browserpass}/lib/mozilla/native-messaging-hosts/com.github.browserpass.native.json"; + source = "${pkgs.browserpass}/lib/browserpass/hosts/firefox/com.github.browserpass.native.json"; } ] else if x == "vivaldi" then let dir = if isDarwin @@ -68,11 +68,11 @@ in { in [ { target = "${dir}/com.github.browserpass.native.json"; - source = "${pkgs.browserpass}/etc/chrome-host.json"; + source = "${pkgs.browserpass}/lib/browserpass/hosts/chromium/com.github.browserpass.native.json"; } { target = "${dir}/../policies/managed/com.github.browserpass.native.json"; - source = "${pkgs.browserpass}/etc/chrome-policy.json"; + source = "${pkgs.browserpass}/lib/browserpass/policies/chromium/com.github.browserpass.native.json"; } ] else throw "unknown browser ${x}") config.programs.browserpass.browsers); |