summaryrefslogtreecommitdiff
path: root/os/pc
diff options
context:
space:
mode:
Diffstat (limited to 'os/pc')
-rw-r--r--os/pc/configuration.nix1
-rw-r--r--os/pc/modules/firejail.nix10
-rw-r--r--os/pc/modules/nocodb.nix9
3 files changed, 14 insertions, 6 deletions
diff --git a/os/pc/configuration.nix b/os/pc/configuration.nix
index f9fbcec..7e7218a 100644
--- a/os/pc/configuration.nix
+++ b/os/pc/configuration.nix
@@ -10,6 +10,7 @@ in {
./modules/wayland.nix
./modules/nopolkit.nix
./modules/nocodb.nix
+ ./modules/firejail.nix
];
boot = {
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;