aboutsummaryrefslogtreecommitdiffstats
path: root/system (unfollow)
Commit message (Collapse)Author
2023-04-07Fix(system/mail): Allow opening ports in the firewallene
As the previous configuration only opened some ports, receiving mail was impossible. This allows NSM to open the required ports directly, ensuring that none was missed. SECURITY: As all other options than SSL are still disabled, this change should not introduce unencrypted mail transfer. This has not been tested.
2023-03-25Fix(system/services/rust-motd): Quote ssl-cert namesene
2023-03-25Feat(system/services/rust-motd): Info about filesystemsene
2023-03-25Feat(system/services/rust-motd): Show status of ssl-certsene
2023-03-25Fix(system/services/rust-motd): Add fail2ban binaryene
2023-03-25Feat(system/services/fail2ban): Add dovecot jailene
This should reduce the log spam even further.
2023-03-25Fix(system/services/fail2ban): Make db persistentene
2023-03-25Feat(system/services/fail2ban): Add fail2banene
This should clear the logs somewhat.
2023-03-20Fix(acme): Store certs permanently.sils
Before, new certs were requested at every rebuild. This caused issues due to letsencrypt ratelimiting.
2023-03-20Revert "Fix(system/mail): Change placeholder"sils
This reverts commit ecb274ba49042f1dfdf63b9c54ff6920f24a9a58. It may be a security-risk, but I care much more about a running mailserver for now.
2023-03-20Fix(system/mail): Change placeholderene
The old one, could have exposed a weak hash.
2023-03-19Refactor(system/hardware): Move hardware to hostene
The hardware settings are (somewhat) host specific, and putting them in `system` just builds the wrong expectations.
2023-03-19Fix(system/hardware): Use actually needed modules and UUIDene
The old values did work, but these should just make things a bit clearer.
2023-03-19Fix(system/services/minecraft): Remove to make compileene
2023-03-19Fix(system/mail): Only accept connections on safe portsene
It is sort of standard to ignore connections over the unencrypted port 25, thus we are doing the same.
2023-03-18Feat(system/mail): Add other users, so the admin thing worksene
2023-03-18Style(system/mail): Reorder optionsene
I just think this is easier to read.
2023-03-18Feat(system/mail): Use '/' to separate mailboxesene
This is something that just makes the file system easier to traverse, but isn't really necessary.
2023-03-18Fix(system/mail): Declare the password directlyene
As outlined in commit 19f0808, placing a password hash in the world readable nix-store is perfectly safe as long as the hashing function is not reversible, which should be a necessity for a password hash.
2023-03-18Fix(system/users): Remove unneeded root ssh login keysene
All users are in the wheel group, thus direct login as root is no longer needed.
2023-03-18Fix(system/mail): Make extraVirtualAliases fairerene
2023-03-18Fix(system/mail): Disable protocols with STARTTLSene
This is inherently unsafe because it requires an unencrypted handshake. Considering that all protocols also work directly with TLS i.e., the encrypted variant, disabling this shouldn't be a drawback.
2023-03-18Refactor: Use better file layoutene
2023-02-05Feat: Use default.nixene
2023-02-05Fix: correct host name and convenience changesene
We used the domain name instead of the host name, which obviously doesn't work for multiple host. In addition to that I changed some directory to make importing easier and enabled the "nix-command" and "flakes" experimental options, to make the `nix flake check` command usable. Refs: #15
2023-02-04Flake: Changed the configuration to a flakeene
Nix flakes make a lot of things very easy.