21 lines
551 B
Nix
21 lines
551 B
Nix
{ 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";
|
|
};
|
|
};
|
|
}
|