add firejail
All checks were successful
nixos config pipeline / show-flake (push) Successful in 39s
nixos config pipeline / deploy (push) Successful in 7s

This commit is contained in:
smayzy 2025-08-12 18:40:56 +02:00
parent 858a4a1bf1
commit 91240b2a50
5 changed files with 24 additions and 0 deletions

View File

@ -16,6 +16,7 @@
./groups
./hardware
./ide
./isolation
./networking
./notif
./office

View File

@ -49,6 +49,7 @@ in
chromium.enable = true;
desmume.enable = true;
ghidra.enable = true;
firejail.enable = true;
};
};
}

View File

@ -45,6 +45,7 @@ in
aegisub.enable = true;
alacritty.enable = true;
chromium.enable = true;
firejail.enable = true;
};
};
}

View File

@ -0,0 +1,6 @@
{ ... }:
{
imports = [
./firejail.nix
];
}

View File

@ -0,0 +1,15 @@
{ 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 ];
};
}