sandbox
This commit is contained in:
20
system-config/services/containers/sandbox/default.nix
Normal file
20
system-config/services/containers/sandbox/default.nix
Normal file
@@ -0,0 +1,20 @@
|
||||
{ config, lib, pkgs, ... }: {
|
||||
|
||||
options.sysconfig.opts.virtualization.sandbox.enable = lib.mkOption {
|
||||
type = lib.types.bool;
|
||||
default = false;
|
||||
};
|
||||
|
||||
config = lib.mkIf config.sysconfig.opts.virtualization.sandbox.enable {
|
||||
|
||||
containers.sandbox = {
|
||||
|
||||
autoStart = true;
|
||||
privateNetwork = true;
|
||||
hostAddress = "192.168.100.10";
|
||||
localAddress = "192.168.100.31";
|
||||
|
||||
flake = "https://gitea.blunkall.us/Blunkall-Technologies/Olympus#sandbox-nathan";
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user