fix(*): adapt to nixos-24.05 changes

This commit is contained in:
steveej 2024-06-01 21:46:09 +02:00
parent ae86a8b860
commit 4c18f0a7ab
12 changed files with 56 additions and 27 deletions

View file

@ -1,5 +1,5 @@
{
repoFlake,
specialArgs,
hostAddress,
localAddress,
httpPort ? 80,
@ -8,10 +8,12 @@
}: let
domain = "www.stefanjunker.de";
in {
inherit specialArgs;
config = {
config,
pkgs,
lib,
repoFlake,
...
}: {
system.stateVersion = "22.05"; # Did you read the comment?
@ -22,7 +24,11 @@ in {
repoFlake.inputs.sops-nix.nixosModules.sops
];
networking.firewall.enable = false;
networking.firewall.enable = true;
networking.firewall.allowedTCPPorts = [
httpPort
httpsPort
];
sops.age.sshKeyPaths = ["/etc/ssh/ssh_host_ed25519_key"];
sops.secrets.hedgedoc_environment_file = {