mirror of
https://git.pvv.ntnu.no/Drift/pvv-nixos-config.git
synced 2024-12-04 19:40:07 +01:00
15 lines
358 B
Nix
15 lines
358 B
Nix
{ ... }:
|
|
{
|
|
security.acme = {
|
|
acceptTerms = true;
|
|
defaults.email = "drift@pvv.ntnu.no";
|
|
};
|
|
|
|
# Let's not spam LetsEncrypt in `nixos-rebuild build-vm` mode:
|
|
virtualisation.vmVariant = {
|
|
security.acme.defaults.server = "https://127.0.0.1";
|
|
security.acme.preliminarySelfsigned = true;
|
|
|
|
users.users.root.initialPassword = "root";
|
|
};
|
|
} |