diff options
author | sinanmohd <sinan@sinanmohd.com> | 2024-09-25 06:22:41 +0530 |
---|---|---|
committer | sinanmohd <sinan@sinanmohd.com> | 2024-09-25 06:31:16 +0530 |
commit | 414198829b8708c84f6d7adfe952bb9746e1897a (patch) | |
tree | 232292e0091d803dcdef391fab36c1c7a7bfebe2 /os/pc/modules | |
parent | a6877d99dd51aaadf2b78d1edc80eead9b0782a1 (diff) |
pc/modules/nocodb: init
Diffstat (limited to 'os/pc/modules')
-rw-r--r-- | os/pc/modules/nocodb.nix | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/os/pc/modules/nocodb.nix b/os/pc/modules/nocodb.nix new file mode 100644 index 0000000..d34aca9 --- /dev/null +++ b/os/pc/modules/nocodb.nix @@ -0,0 +1,14 @@ +{ 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"; + }; + }; + + virtualisation.docker.enable = true; + users.extraGroups.docker.members = [ user ]; +} |