23 lines
No EOL
504 B
Nix
23 lines
No EOL
504 B
Nix
{ inputs, outputs, lib, config, pkgs, ... }: {
|
|
imports = [
|
|
inputs.sops-nix.nixosModules.sops
|
|
../server
|
|
../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";
|
|
};
|
|
};
|
|
} |