Set up nameservers for the FUCKING podman SHIT

This commit is contained in:
niten 2024-01-18 22:15:49 -08:00
parent 20b9590e64
commit 78c72e3665
1 changed files with 7 additions and 0 deletions

View File

@ -44,6 +44,12 @@ in {
default = 4;
};
nameservers = mkOption {
type = listOf str;
description = "Nameservers to use for DNS resolution.";
default = [ "1.1.1.1" ];
};
smtp = {
host = mkOption {
type = str;
@ -105,6 +111,7 @@ in {
configuration = {
boot.tmp.useTmpfs = true;
system.nssModules = mkForce [ ];
networking.nameservers = cfg.nameservers;
services = {
nscd.enable = false;
postgresql.enable = true;