You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .github/README.md
+6-42Lines changed: 6 additions & 42 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -56,7 +56,10 @@ inputs = {
56
56
# or inputs.zen-browser.homeModules.twilight-official
57
57
];
58
58
59
-
programs.zen-browser.enable = true;
59
+
programs.zen-browser = {
60
+
enable = true;
61
+
setAsDefaultBrowser = true;
62
+
};
60
63
}
61
64
```
62
65
@@ -123,6 +126,8 @@ further documentation.
123
126
124
127
-`enable` (_boolean_): Enable the Home Manager config.
125
128
129
+
-`setAsDefaultBrowser` (_boolean_): Whether to set Zen Browser as the default application for various file types and URL schemes.
130
+
126
131
-`nativeMessagingHosts` (listOf package): To
127
132
[enable communication between the browser and native applications](https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/Native_messaging).
128
133
@@ -678,47 +683,6 @@ Check the [Home Manager Reference](#home-manager-reference).
678
683
}
679
684
```
680
685
681
-
## Bonus
682
-
683
-
### XDG MIME Associations
684
-
685
-
To set Zen Browser as the default application for various file types and URL
686
-
schemes, you can add the following configuration to your Home Manager setup:
687
-
688
-
```nix
689
-
{
690
-
xdg.mimeApps = let
691
-
value = let
692
-
zen-browser = inputs.zen-browser.packages.${system}.beta; # or twilight
0 commit comments