mirror of
https://github.com/nix-community/home-manager.git
synced 2025-11-21 17:59:39 +01:00
chromium: optional nativeMessagingHosts (#6515)
Should only be generating when provided
This commit is contained in:
parent
3b6550f710
commit
ed030a7879
1 changed files with 6 additions and 5 deletions
|
|
@ -207,11 +207,12 @@ let
|
||||||
home.file = optionalAttrs (!isProprietaryChrome) (listToAttrs
|
home.file = optionalAttrs (!isProprietaryChrome) (listToAttrs
|
||||||
((map extensionJson cfg.extensions)
|
((map extensionJson cfg.extensions)
|
||||||
++ (map dictionary cfg.dictionaries)) // {
|
++ (map dictionary cfg.dictionaries)) // {
|
||||||
"${configDir}/NativeMessagingHosts" = {
|
"${configDir}/NativeMessagingHosts" =
|
||||||
source =
|
lib.mkIf (cfg.nativeMessagingHosts != [ ]) {
|
||||||
"${nativeMessagingHostsJoined}/etc/chromium/native-messaging-hosts";
|
source =
|
||||||
recursive = true;
|
"${nativeMessagingHostsJoined}/etc/chromium/native-messaging-hosts";
|
||||||
};
|
recursive = true;
|
||||||
|
};
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue