I have put this in /etc/nixos/configuration.nix
, run nixos-rebuild --upgrade switch
, and rebooted, but running the command thunderbird
and then firejail --list
(in another terminal), there are no firejail sandboxes listed.
programs.firejail.enable = true;
programs.firejail.wrappedBinaries = {
thunderbird = {
executable = "${lib.getBin pkgs.thunderbird}/bin/thunderbird";
profile = "${pkgs.firejail}/etc/firejail/thunderbird.profile";
};
telegram-desktop = {
executable = "${lib.getBin pkgs.tdesktop}/bin/telegram-desktop";
profile = "${pkgs.firejail}/etc/firejail/telegram.profile";
};
wire-desktop = {
executable = "${lib.getBin pkgs.wire-desktop}/bin/wire-desktop";
profile = "${pkgs.firejail}/etc/firejail/wire-desktop.profile";
};
};
I also get errors about file collisions:
warning: collision between `/nix/store/jqkyn40x8ax9r5syrsxndw6kvci6n8yl-firejail-wrapped-binaries/bin/wire-desktop' and `/nix/store/r8fklvpjp180n4i7qwfyas9nrazmm9k2-wire-desktop-3.26.2941/bin/wire-desktop'
warning: collision between `/nix/store/jqkyn40x8ax9r5syrsxndw6kvci6n8yl-firejail-wrapped-binaries/bin/telegram-desktop' and `/nix/store/ffjvmxrz865fdfaq7pjkf1vvc1yjh2vz-telegram-desktop-3.1.11/bin/telegram-desktop'
I seem to have two separate problems here, and I don’t know how to resolve either.