This commit is contained in:
1 parent
3bbc5e83fc
commit
d317aa39a6
3 files changed
+19
No files matched your search
@@ -68,6 +68,7 @@ in
|
||||
"/data"
|
||||
];
|
||||
};
|
||||
sandboxing.enable = true;
|
||||
secrets = {
|
||||
enable = true;
|
||||
nixSigningKey.enable = true;
|
||||
|
||||
@@ -52,6 +52,7 @@ in
|
||||
};
|
||||
};
|
||||
networking.enable = true;
|
||||
sandboxing.enable = true;
|
||||
secrets.enable = true;
|
||||
ssh.enable = true;
|
||||
storage.enable = true;
|
||||
|
||||
@@ -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 ];
|
||||
};
|
||||
}
|
||||
Reference in new issue
Block a user