unwrap firefox
This commit is contained in:
parent
e480aa4c2a
commit
faab88b9e5
1 changed files with 2 additions and 8 deletions
|
@ -3,13 +3,6 @@ let
|
||||||
unstable = inputs.nixpkgs-nixos-unstable.legacyPackages.${pkgs.system};
|
unstable = inputs.nixpkgs-nixos-unstable.legacyPackages.${pkgs.system};
|
||||||
nixpkgs-master = inputs.nixpkgs-master.legacyPackages.${pkgs.system};
|
nixpkgs-master = inputs.nixpkgs-master.legacyPackages.${pkgs.system};
|
||||||
in {
|
in {
|
||||||
programs.firejail.enable = true;
|
|
||||||
programs.firejail.wrappedBinaries = {
|
|
||||||
firefox = {
|
|
||||||
executable = "${pkgs.lib.getBin pkgs.firefox}/bin/firefox";
|
|
||||||
profile = "${pkgs.firejail}/etc/firejail/firefox.profile";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
security.chromiumSuidSandbox.enable = true;
|
security.chromiumSuidSandbox.enable = true;
|
||||||
|
|
||||||
|
@ -28,9 +21,10 @@ in {
|
||||||
style.package = pkgs.adwaita-qt;
|
style.package = pkgs.adwaita-qt;
|
||||||
};
|
};
|
||||||
|
|
||||||
imports = [ ./firejail.nix ];
|
imports = [ ];
|
||||||
|
|
||||||
programs.chromium.enable = true;
|
programs.chromium.enable = true;
|
||||||
|
programs.firefox.enable = true;
|
||||||
home.packages = with pkgs;
|
home.packages = with pkgs;
|
||||||
with pkgs.gnome3;
|
with pkgs.gnome3;
|
||||||
with pkgs.python38Packages;
|
with pkgs.python38Packages;
|
||||||
|
|
Loading…
Reference in a new issue