Set up nameservers for the FUCKING podman SHIT
This commit is contained in:
parent
20b9590e64
commit
78c72e3665
|
@ -44,6 +44,12 @@ in {
|
||||||
default = 4;
|
default = 4;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
nameservers = mkOption {
|
||||||
|
type = listOf str;
|
||||||
|
description = "Nameservers to use for DNS resolution.";
|
||||||
|
default = [ "1.1.1.1" ];
|
||||||
|
};
|
||||||
|
|
||||||
smtp = {
|
smtp = {
|
||||||
host = mkOption {
|
host = mkOption {
|
||||||
type = str;
|
type = str;
|
||||||
|
@ -105,6 +111,7 @@ in {
|
||||||
configuration = {
|
configuration = {
|
||||||
boot.tmp.useTmpfs = true;
|
boot.tmp.useTmpfs = true;
|
||||||
system.nssModules = mkForce [ ];
|
system.nssModules = mkForce [ ];
|
||||||
|
networking.nameservers = cfg.nameservers;
|
||||||
services = {
|
services = {
|
||||||
nscd.enable = false;
|
nscd.enable = false;
|
||||||
postgresql.enable = true;
|
postgresql.enable = true;
|
||||||
|
|
Loading…
Reference in New Issue