init
This commit is contained in:
@@ -1,4 +1,8 @@
|
||||
{config, ...}: {
|
||||
{
|
||||
config,
|
||||
lib,
|
||||
...
|
||||
}: {
|
||||
# flakes usage
|
||||
nix.settings.experimental-features = [
|
||||
"flakes"
|
||||
@@ -12,5 +16,5 @@
|
||||
# cleans /tmp to maintain a tidy system
|
||||
boot.tmp.cleanOnBoot = true;
|
||||
|
||||
networking.domain = config.networking.hostname;
|
||||
networking.domain = lib.mkDefault config.networking.hostName;
|
||||
}
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
{
|
||||
services.openssh.settings.PermitRootLogin = "yes";
|
||||
{lib, ...}: {
|
||||
services.openssh.settings.PermitRootLogin = lib.mkForce "yes";
|
||||
}
|
||||
|
||||
@@ -15,6 +15,7 @@
|
||||
EXTERNAL_HOST = "chat.${config.networking.domain}";
|
||||
};
|
||||
};
|
||||
services.postgresql.enable = true;
|
||||
mailserver.loginAccounts = {
|
||||
"zulip+admin@${config.networking.domain}" = {
|
||||
hashedPasswordFile = builtins.toString config.age.secrets."mailserver-acc-zulip+admin-pw".path;
|
||||
|
||||
Reference in New Issue
Block a user