Add config for RPi

This commit is contained in:
Vili Sinervä 2024-05-29 18:39:29 +03:00
parent cae86e2cf2
commit 276067bb02
No known key found for this signature in database
GPG key ID: DF8FEAF54EFAC996

View file

@ -8,8 +8,11 @@ let
ssh-authorizedKey = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIBbGREoK1uVny1s8FK3KZ74Wmaf0VtifhqPyK69C/Gez vili@helium";
ddPassFile = "/root/wg-conf/ddPassFile";
in {
imports = [
../base.nix
];
environment.systemPackages = with pkgs; [ vim wireguard-tools qrencode ];
environment.systemPackages = with pkgs; [ vim wireguard-tools qrencode ];
# enable NAT
networking.nat.enable = true;
@ -145,5 +148,4 @@ services.ddclient = {
system.copySystemConfiguration = true;
hardware.enableRedistributableFirmware = true;
system.stateVersion = "23.11";
}