summaryrefslogtreecommitdiff
path: root/os/pc/modules/firejail.nix
diff options
context:
space:
mode:
Diffstat (limited to 'os/pc/modules/firejail.nix')
-rw-r--r--os/pc/modules/firejail.nix10
1 files changed, 10 insertions, 0 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";
+ };
+ };
+}