Restructure flake.nix and add JHelioviewer package

This commit is contained in:
2024-07-06 16:50:32 -05:00
parent 4424978387
commit d8d07896fe
6 changed files with 319 additions and 232 deletions

View File

@@ -6,6 +6,7 @@
lib,
config,
pkgs,
localPackages,
...
}: {
@@ -30,6 +31,8 @@
secrets."wireguard/preshared" = {};
};
environment.systemPackages = [ localPackages.x86_64-linux.jhelioviewer ];
# Use the systemd-boot EFI boot loader.
boot.loader.systemd-boot.enable = true;
boot.loader.systemd-boot.xbootldrMountPoint = "/boot";
@@ -51,7 +54,7 @@
listenPort = 51820;
privateKeyFile = "/run/secrets/wireguard/private";
dns = [ "192.168.1.1" ];
autostart = false;
autostart = true;
peers = [
{