mirror of
https://github.com/nix-community/home-manager.git
synced 2026-01-11 17:39:37 +08:00
mkFirefoxModule: fix userChrome
This commit is contained in:
@@ -869,7 +869,11 @@ in
|
||||
++ lib.flip mapAttrsToList cfg.profiles (
|
||||
_: profile:
|
||||
let
|
||||
chromePath = if lib.pathIsDirectory profile.userChrome then "chrome" else "chrome/userChrome.css";
|
||||
chromePath =
|
||||
if (lib.isPath profile.userChrome && lib.pathIsDirectory profile.userChrome) then
|
||||
"chrome"
|
||||
else
|
||||
"chrome/userChrome.css";
|
||||
sourcePath = if lib.types.path.check profile.userChrome then profile.userChrome else null;
|
||||
in
|
||||
# Merge the regular profile settings with extension settings
|
||||
|
||||
Reference in New Issue
Block a user