home,nixpak: fix firefox launching issue
This commit is contained in:
parent
64a10c8f06
commit
2e49d687d2
2 changed files with 11 additions and 2 deletions
|
@ -24,6 +24,11 @@
|
|||
|
||||
# Specified in https://github.com/schizofox/schizofox/blob/main/modules/hm/default.nix
|
||||
# I really don't have any idea what am I doing, it just works™
|
||||
dbus.policies = {
|
||||
"org.mozilla.firefox.*" = "own";
|
||||
#"org.mozilla.firefox_beta.*" = "own";
|
||||
};
|
||||
|
||||
bubblewrap = let
|
||||
envSuffix = envKey: sloth.concat' (sloth.env envKey);
|
||||
in {
|
||||
|
@ -38,7 +43,7 @@
|
|||
"/etc/localtime"
|
||||
"/sys/bus/pci"
|
||||
|
||||
["${pkgs.firefox}/lib/firefox" "/app/etc/firefox"]
|
||||
["${config.app.package}/lib/firefox" "/app/etc/firefox"]
|
||||
(sloth.concat' sloth.xdgConfigHome "/dconf")
|
||||
|
||||
# https://github.com/nixpak/pkgs/pull/22
|
||||
|
|
|
@ -24,6 +24,10 @@
|
|||
|
||||
# Specified in https://github.com/schizofox/schizofox/blob/main/modules/hm/default.nix
|
||||
# I really don't have any idea what am I doing, it just works™
|
||||
dbus.policies = {
|
||||
"io.gitlab.librewolf.*" = "own";
|
||||
};
|
||||
|
||||
bubblewrap = let
|
||||
envSuffix = envKey: sloth.concat' (sloth.env envKey);
|
||||
in {
|
||||
|
@ -38,7 +42,7 @@
|
|||
"/etc/localtime"
|
||||
"/sys/bus/pci"
|
||||
|
||||
["${pkgs.firefox}/lib/firefox" "/app/etc/firefox"]
|
||||
["${config.app.package}/lib/firefox" "/app/etc/firefox"]
|
||||
(sloth.concat' sloth.xdgConfigHome "/dconf")
|
||||
|
||||
# https://github.com/nixpak/pkgs/pull/22
|
||||
|
|
Loading…
Reference in a new issue