diff options
Diffstat (limited to 'os/pc')
-rw-r--r-- | os/pc/configuration.nix | 1 | ||||
-rw-r--r-- | os/pc/modules/nocodb.nix | 14 |
2 files changed, 15 insertions, 0 deletions
diff --git a/os/pc/configuration.nix b/os/pc/configuration.nix index 180080f..f9fbcec 100644 --- a/os/pc/configuration.nix +++ b/os/pc/configuration.nix @@ -9,6 +9,7 @@ in { ./modules/network.nix ./modules/wayland.nix ./modules/nopolkit.nix + ./modules/nocodb.nix ]; boot = { 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 ]; +} |