diff options
Diffstat (limited to 'os/pc/modules')
-rw-r--r-- | os/pc/modules/firejail.nix | 10 | ||||
-rw-r--r-- | os/pc/modules/nocodb.nix | 9 |
2 files changed, 13 insertions, 6 deletions
diff --git a/os/pc/modules/firejail.nix b/os/pc/modules/firejail.nix new file mode 100644 index 0000000..920607e --- /dev/null +++ b/os/pc/modules/firejail.nix @@ -0,0 +1,10 @@ +{ pkgs, lib, ... }: { + programs.firejail = { + enable = true; + + wrappedBinaries.spotify = { + executable = lib.getExe pkgs.spotify; + profile = "${pkgs.firejail}/etc/firejail/spotify.profile"; + }; + }; +} diff --git a/os/pc/modules/nocodb.nix b/os/pc/modules/nocodb.nix index d34aca9..6b26bf2 100644 --- a/os/pc/modules/nocodb.nix +++ b/os/pc/modules/nocodb.nix @@ -1,12 +1,9 @@ { config, pkgs, lib, ... }: let user = config.global.userdata.name; in { - programs.firejail = { - enable = true; - wrappedBinaries.slack = { - executable = lib.getExe pkgs.slack; - profile = "${pkgs.firejail}/etc/firejail/slack.profile"; - }; + programs.firejail.wrappedBinaries.slack = { + executable = lib.getExe pkgs.slack; + profile = "${pkgs.firejail}/etc/firejail/slack.profile"; }; virtualisation.docker.enable = true; |