nixos-configuration/hive/thebe/default.nix

33 lines
648 B
Nix
Raw Normal View History

2024-01-10 17:45:12 +00:00
{ sops-nix, lib, ... }:
2024-01-10 16:28:31 +00:00
{
imports = lib.optional (builtins.pathExists ./do-userdata.nix) ./do-userdata.nix ++ [
2024-01-10 17:45:12 +00:00
sops-nix.nixosModules.sops
2024-01-10 16:28:31 +00:00
../../digital-ocean/configuration.nix
../../services/boardwise
../../services/forgejo.nix
2024-01-10 16:28:31 +00:00
];
networking = {
hostName = "thebe";
firewall = {
enable = true;
allowedTCPPorts = [ 80 443 ];
};
};
programs.mosh.enable = true;
services = {
nginx.enable = true;
openssh.enable = true;
2024-01-10 17:45:12 +00:00
postgresql.enable = true;
2024-01-10 16:28:31 +00:00
};
security.acme = {
acceptTerms = true;
defaults.email = "jrpotter2112@gmail.com";
};
system.stateVersion = "23.11";
}