summaryrefslogtreecommitdiff
path: root/os/pc/modules/firejail.nix
diff options
context:
space:
mode:
authorsinanmohd <sinan@sinanmohd.com>2025-01-05 18:56:17 +0530
committersinanmohd <sinan@sinanmohd.com>2025-01-05 18:57:35 +0530
commit5a75d6b869b1ad523914b483d23ede0e7ff335ff (patch)
tree6fb000e06622007a311e05da13fb24aa328b8238 /os/pc/modules/firejail.nix
parent88bdc03019a392d16403330898d257bdeeb0ecc9 (diff)
os/pc/firejail: init
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";
+ };
+ };
+}