Apply all pending changes excluding .sops.yaml
This commit is contained in:
parent
7b04942bb2
commit
89929ac69a
20 changed files with 439 additions and 167 deletions
23
hosts/templates/server.nix
Normal file
23
hosts/templates/server.nix
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
{ 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";
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue