feat(rpi4): setup acme and cfdyndns
This commit is contained in:
parent
b1ea42c5a2
commit
66321a27b8
3 changed files with 114 additions and 0 deletions
19
rpi4.nix
19
rpi4.nix
|
@ -7,6 +7,7 @@
|
|||
./system/nix.nix
|
||||
./system/i18n.nix
|
||||
./services/jellyfin.nix
|
||||
./modules/cfdyndns.nix
|
||||
];
|
||||
|
||||
nixpkgs.config.allowUnfree = true;
|
||||
|
@ -22,6 +23,24 @@
|
|||
];
|
||||
hardware.enableAllFirmware = true;
|
||||
|
||||
networking.domain = "home.felschr.com";
|
||||
|
||||
networking.firewall.allowedTCPPorts = [
|
||||
80 443
|
||||
];
|
||||
|
||||
security.acme = {
|
||||
acceptTerms = true;
|
||||
email = "felschr@pm.me";
|
||||
};
|
||||
|
||||
services.custom.cfdyndns = {
|
||||
enable = true;
|
||||
email = "felschr@pm.me";
|
||||
apikeyFile = "/etc/nixos/secrets/cfdyndns-apikey";
|
||||
records = [ "home.felschr.com" ];
|
||||
};
|
||||
|
||||
programs.zsh.enable = true;
|
||||
|
||||
services.openssh.enable = true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue