From 5a75d6b869b1ad523914b483d23ede0e7ff335ff Mon Sep 17 00:00:00 2001 From: sinanmohd Date: Sun, 5 Jan 2025 18:56:17 +0530 Subject: os/pc/firejail: init --- os/pc/modules/firejail.nix | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 os/pc/modules/firejail.nix (limited to 'os/pc/modules/firejail.nix') 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"; + }; + }; +} -- cgit v1.2.3