Compare commits

...
2 Commits
Author SHA1 Message Date
hektor d317aa39a6 feat(sandboxing): declare sandboxing module
check / lint (push) Successful in 15s
2026-10-12 23:51:54 +02:00
hektor 3bbc5e83fc fix(hecuba): resolve arion check related build error 2026-10-12 23:50:15 +02:00
4 changed files with 24 additions and 2 deletions

No files matched your search

+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;
+5 -2
View File
@@ -50,7 +50,10 @@ in
];
};
virtualisation.arion.backend = "docker";
virtualisation.arion = {
backend = "docker";
package = pkgs.arion;
};
networking.hostName = config.host.name;
@@ -112,6 +115,6 @@ in
enable = true;
maxretry = 5;
};
journald.extraConfig = "SystemMaxUse=500M";
journald.settings.Journal.SystemMaxUse = "500M";
};
}
+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 ];
};
}