Skip to content

Commit 32856f7

Browse files
committed
feat: install zen browser
Signed-off-by: Reputable2722 <153411261+Reputable2772@users.noreply.github.com>
1 parent dcffd64 commit 32856f7

2 files changed

Lines changed: 23 additions & 0 deletions

File tree

Users/WickedWizard/Programs/Browsers/default.nix

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,6 @@
55
./junction.nix
66
./librewolf.nix
77
# ./tor.nix
8+
./zen.nix
89
];
910
}
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
{ config', lib, ... }:
2+
{
3+
services.flatpak = {
4+
packages = [ "app.zen_browser.zen" ];
5+
overrides."app.zen_browser.zen" =
6+
lib.optionalAttrs (config'.dir ? browsers && config'.dir.browsers != null)
7+
{
8+
Context.filesystems = "${config'.dir.browsers}/Zen";
9+
};
10+
};
11+
12+
# Zen, for some reason, requires this file to be writable.
13+
# home.file.".var/app/app.zen_browser.zen/.zen/profiles.ini".text = ''
14+
# [Profile0]
15+
# Name=Default
16+
# IsRelative=0
17+
# Default=1
18+
# ${lib.optionalString (
19+
# config'.dir ? browsers && config'.dir.browsers != null
20+
# ) "Path=${config'.dir.browsers}/Zen/"}
21+
# '';
22+
}

0 commit comments

Comments
 (0)