feat(sandboxing): declare sandboxing module
check / lint (push) Successful in 15s

This commit is contained in:
2026-10-12 23:51:54 +02:00
parent 3bbc5e83fc
commit d317aa39a6
3 changed files with 19 additions and 0 deletions
+1
View File
@@ -68,6 +68,7 @@ in
"/data"
];
};
sandboxing.enable = true;
secrets = {
enable = true;
nixSigningKey.enable = true;
+1
View File
@@ -52,6 +52,7 @@ in
};
};
networking.enable = true;
sandboxing.enable = true;
secrets.enable = true;
ssh.enable = true;
storage.enable = true;
+17
View File
@@ -0,0 +1,17 @@
{
lib,
config,
pkgs,
...
}:
let
cfg = config.sandboxing;
in
{
options.sandboxing.enable = lib.mkOption { default = false; };
config = lib.mkIf cfg.enable {
environment.systemPackages = [ pkgs.bubblewrap ];
};
}