2024-05-18 18:02:14 +00:00
|
|
|
{ sops-nix, lib, ... }:
|
2023-12-14 15:37:43 +00:00
|
|
|
{
|
|
|
|
imports = lib.optional (builtins.pathExists ./do-userdata.nix) ./do-userdata.nix ++ [
|
2024-05-18 18:02:14 +00:00
|
|
|
sops-nix.nixosModules.sops
|
2023-12-14 15:37:43 +00:00
|
|
|
../../digital-ocean/configuration.nix
|
2023-12-23 21:29:18 +00:00
|
|
|
../../services/bookshelf.nix
|
2024-01-31 13:11:29 +00:00
|
|
|
../../services/notebook.nix
|
2024-05-18 18:02:14 +00:00
|
|
|
../../services/portfolio
|
2023-12-14 15:37:43 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
networking = {
|
|
|
|
hostName = "deimos";
|
|
|
|
firewall = {
|
|
|
|
enable = true;
|
|
|
|
allowedTCPPorts = [ 80 443 ];
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
programs.mosh.enable = true;
|
|
|
|
|
2023-12-23 21:27:04 +00:00
|
|
|
services = {
|
2023-12-23 21:29:18 +00:00
|
|
|
nginx.enable = true;
|
2023-12-23 21:27:04 +00:00
|
|
|
openssh.enable = true;
|
|
|
|
};
|
|
|
|
|
|
|
|
security.acme = {
|
|
|
|
acceptTerms = true;
|
|
|
|
defaults.email = "jrpotter2112@gmail.com";
|
2023-12-14 15:37:43 +00:00
|
|
|
};
|
|
|
|
|
2023-12-23 21:07:35 +00:00
|
|
|
system.stateVersion = "23.11";
|
2023-12-14 15:37:43 +00:00
|
|
|
}
|