mirror of
https://github.com/moons-14/dotfiles.git
synced 2026-10-06 01:18:30 +09:00
20 lines
415 B
Nix
20 lines
415 B
Nix
{ lib, ... }:
|
|
let
|
|
hostSecrets = ../../secrets/hosts/nix-builder/system.yaml;
|
|
in
|
|
{
|
|
imports = [
|
|
./filesystem.nix
|
|
./hardware-configuration.nix
|
|
];
|
|
|
|
sops.secrets = lib.mkIf (builtins.pathExists hostSecrets) {
|
|
"harmonia/signing-key" = {
|
|
sopsFile = hostSecrets;
|
|
restartUnits = [ "harmonia.service" ];
|
|
};
|
|
};
|
|
|
|
networking.firewall.interfaces."tailscale0".allowedTCPPorts = [ 5000 ];
|
|
}
|