task | add template for pi-server.nix

This commit is contained in:
Don Harper 2026-06-12 19:49:20 -05:00
parent 89480b8e75
commit ff0627b327

View file

@ -0,0 +1,24 @@
{ inputs, outputs, lib, config, pkgs, ... }: {
imports = [
inputs.sops-nix.nixosModules.sops
../server
../systemd-primary.nix
../common/boot.nix
../common/networking.nix
../common/tailscale.nix
../../home/pi-server.nix
../../modules/beszel-agent.nix
];
config = {
# Common server setup
nix.settings.trusted-users = ["root" "don"];
# Server-specific Nix settings
nix.gc = {
automatic = true;
dates = "daily";
options = "--delete-older-than 7d";
};
};
}