mirror of
https://github.com/gensokyo-zone/infrastructure.git
synced 2026-02-09 12:29:19 -08:00
24 lines
478 B
Nix
24 lines
478 B
Nix
{meta, pkgs, ...}:{
|
|
imports = let
|
|
inherit (meta) nixos;
|
|
in [
|
|
nixos.sops
|
|
nixos.reisen-ct
|
|
nixos.tailscale
|
|
];
|
|
|
|
environment.systemPackages = with pkgs; [
|
|
jre
|
|
tmux
|
|
];
|
|
|
|
networking.firewall.interfaces.tailscale0.allowedTCPPorts = [ 25565 ];
|
|
networking.firewall.interfaces.local.allowedTCPPorts = [ 25565 ];
|
|
|
|
sops = {
|
|
defaultSopsFile = ./secrets.yaml;
|
|
secrets.tailscale-key.key = "tailscale-key";
|
|
};
|
|
|
|
system.stateVersion = "23.11";
|
|
}
|