Mail setup for <<> for testing purposes.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

29 lines
770 B

{ config, lib, pkgs, buildVM, ... }:
{
assertions = [
{ assertion = buildVM; message = "this module may only be used when building a VM!"; }
];
users.users.root.hashedPassword = "";
users.mutableUsers = false;
networking.useDHCP = lib.mkForce false;
networking.interfaces = lib.mkForce {
eth0.useDHCP = true;
};
networking.defaultGateway = lib.mkForce null;
#sops.defaultSopsFile = lib.mkForce ../secrets.test.yaml;
#sops.age.sshKeyPaths = lib.mkForce [];
#sops.gnupg.sshKeyPaths = lib.mkForce [];
#sops.age.keyFile = lib.mkForce "${../keys/test.age}";
#sops.age.generateKey = lib.mkForce false;
# Set VM disk size (in MB)
virtualisation.diskSize = 2048;
# Set VM ram amount (in MB)
virtualisation.memorySize = 1024;
}