style: reformat with nixfmt-rfc-style

This commit is contained in:
Felix Schröter 2024-05-26 16:45:38 +02:00
parent 5ad8bc1d56
commit 1c5d83d81e
Signed by: felschr
GPG key ID: 671E39E6744C807D
99 changed files with 2247 additions and 1334 deletions

View file

@ -1,14 +1,22 @@
{ config, pkgs, ... }:
{
inputs,
config,
pkgs,
...
}:
let
# mkdir /etc/secrets/initrd -p
# chmod 700 -R /etc/secrets/
# ssh-keygen -t ed25519 -N "" -f /etc/secrets/initrd/ssh_host_ed25519_key
hostKeys = [{
path = "/etc/secrets/initrd/ssh_host_ed25519_key";
type = "ed25519";
}];
in {
hostKeys = [
{
path = "/etc/secrets/initrd/ssh_host_ed25519_key";
type = "ed25519";
}
];
in
{
imports = [
../hardware/base.nix
../desktop/x11.nix
@ -44,8 +52,14 @@ in {
networking.domain = "home.felschr.com";
networking.firewall.allowedTCPPorts = [ 80 443 ];
networking.firewall.allowedUDPPorts = [ 80 443 ];
networking.firewall.allowedTCPPorts = [
80
443
];
networking.firewall.allowedUDPPorts = [
80
443
];
security.acme.acceptTerms = true;
security.acme.defaults.email = "dev@felschr.com";
@ -134,8 +148,7 @@ in {
enable = true;
method = "email";
email.mailTo = "admin@felschr.com";
email.mailFrom =
"${config.networking.hostName} <${config.programs.msmtp.accounts.default.from}>";
email.mailFrom = "${config.networking.hostName} <${config.programs.msmtp.accounts.default.from}>";
};
# only change this when specified in release notes