Skip to content

Commit cd423b0

Browse files
committed
qute sandbox
1 parent b583164 commit cd423b0

File tree

1 file changed

+2
-11
lines changed

1 file changed

+2
-11
lines changed

nix/qute.nix

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@
77
app = pkgs.writeShellApplication {
88
name = "qute";
99
text = ''
10-
${pkgs.qutebrowser}/bin/qutebrowser "$@"
10+
${pkgs.qutebrowser}/bin/qutebrowser \
11+
-C ${../cfg/qutebrowser.py} "$@"
1112
'';
1213
};
1314
sandbox = mkNixPak {
@@ -22,16 +23,6 @@
2223
network = true;
2324
sockets.pulse = true;
2425
sockets.wayland = true;
25-
bind.ro = [
26-
[
27-
(toString ../cfg/qutebrowser.py)
28-
(
29-
sloth.concat'
30-
sloth.homeDir
31-
".config/qutebrowser/config.py"
32-
)
33-
]
34-
];
3526
bind.rw = [
3627
[
3728
(sloth.mkdir (sloth.concat' sloth.homeDir "/qute"))

0 commit comments

Comments
 (0)