nixos-configuration/hive/deimos/default.nix

32 lines
612 B
Nix
Raw Normal View History

{ lib, ... }:
{
imports = lib.optional (builtins.pathExists ./do-userdata.nix) ./do-userdata.nix ++ [
../../digital-ocean/configuration.nix
../../services/blog.nix
../../services/bookshelf.nix
../../services/portfolio.nix
];
networking = {
hostName = "deimos";
firewall = {
enable = true;
allowedTCPPorts = [ 80 443 ];
};
};
programs.mosh.enable = true;
2023-12-23 21:27:04 +00:00
services = {
nginx.enable = true;
2023-12-23 21:27:04 +00:00
openssh.enable = true;
};
security.acme = {
acceptTerms = true;
defaults.email = "jrpotter2112@gmail.com";
};
system.stateVersion = "23.11";
}