nix-config/modules/nix/isolation/firejail.nix
2025-08-24 22:27:49 +02:00

21 lines
321 B
Nix

{
lib,
pkgs,
config,
...
}:
let
inherit (lib) mkIf mkOption types;
in
{
options.smayzy.firejail.enable = mkOption {
type = types.bool;
default = false;
description = "firejail";
};
config = mkIf config.smayzy.firejail.enable {
environment.systemPackages = with pkgs; [ firejail ];
};
}