nix-config/modules/nix/isolation/firejail.nix
smayzy 91240b2a50
All checks were successful
nixos config pipeline / show-flake (push) Successful in 39s
nixos config pipeline / deploy (push) Successful in 7s
add firejail
2025-08-12 18:40:56 +02:00

16 lines
313 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 ];
};
}