Compare commits
2 Commits
53db427cb9
...
25eb9749c4
Author | SHA1 | Date |
---|---|---|
Joshua Potter | 25eb9749c4 | |
Joshua Potter | 3a30ffd679 |
|
@ -1,6 +1,5 @@
|
|||
keys:
|
||||
- &admin_jrpotter age1huyyxsy4g0e5svmcejxvvdjnnk6qkulgd3qfpue59exnfrnqzudspxnn62
|
||||
- &server_phobos age16twzd97nh7tstk5meh277w02le6dxqmv7wzrjlemn87n36dzlyfq7uusj2
|
||||
- &server_thebe age1pjgqvdyzxz30rxvu3zysjpmxrjjsvklggfepswhmwdaunx0kg3vsfept24
|
||||
creation_rules:
|
||||
- path_regex: .*
|
||||
|
|
|
@ -33,7 +33,6 @@
|
|||
nodeNixpkgs = {
|
||||
framework = tapir.pkgs;
|
||||
deimos = tapir.pkgs;
|
||||
phobos = tapir.pkgs;
|
||||
thebe = tapir.pkgs;
|
||||
};
|
||||
nodeSpecialArgs = {
|
||||
|
@ -43,9 +42,6 @@
|
|||
deimos = {
|
||||
inherit (tapir) sops-nix;
|
||||
};
|
||||
phobos = {
|
||||
inherit (tapir) sops-nix;
|
||||
};
|
||||
thebe = {
|
||||
inherit (tapir) sops-nix;
|
||||
};
|
||||
|
@ -65,7 +61,6 @@
|
|||
# Remote machines. Deploy using `colmena apply`
|
||||
|
||||
deimos.imports = [ ./hive/deimos ];
|
||||
phobos.imports = [ ./hive/phobos ];
|
||||
thebe.imports = [ ./hive/thebe ];
|
||||
};
|
||||
|
||||
|
|
|
@ -1,32 +0,0 @@
|
|||
{ sops-nix, lib, ... }:
|
||||
{
|
||||
imports = lib.optional (builtins.pathExists ./do-userdata.nix) ./do-userdata.nix ++ [
|
||||
sops-nix.nixosModules.sops
|
||||
../../digital-ocean/configuration.nix
|
||||
];
|
||||
|
||||
deployment.targetHost = "143.198.142.171";
|
||||
|
||||
networking = {
|
||||
hostName = "phobos";
|
||||
firewall = {
|
||||
enable = true;
|
||||
allowedTCPPorts = [ 80 443 ];
|
||||
};
|
||||
};
|
||||
|
||||
programs.mosh.enable = true;
|
||||
|
||||
services = {
|
||||
nginx.enable = true;
|
||||
openssh.enable = true;
|
||||
postgresql.enable = true;
|
||||
};
|
||||
|
||||
security.acme = {
|
||||
acceptTerms = true;
|
||||
defaults.email = "jrpotter2112@gmail.com";
|
||||
};
|
||||
|
||||
system.stateVersion = "23.11";
|
||||
}
|
|
@ -1,7 +1,7 @@
|
|||
{ system, ... }:
|
||||
let
|
||||
blog = builtins.getFlake
|
||||
"github:jrpotter/blog/e922711b9e5ef4e311e6cd7ce02ad338f7945475";
|
||||
"github:jrpotter/blog/692b6c237f57fe1b0b3badc1ff1b33db99cf7ff6";
|
||||
in
|
||||
{
|
||||
services.nginx.virtualHosts."blog.jrpotter.com" = {
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{ system, pkgs, lib, ... }:
|
||||
let
|
||||
boardwise = builtins.getFlake
|
||||
"github:boardwise-gg/website/ef264d6670199157761602093f9bf52bb471c4b8";
|
||||
"github:boardwise-gg/website/0d5a66c604ba8c553d391c7461ff012d8b9c5393";
|
||||
coach-scraper = builtins.getFlake
|
||||
"github:boardwise-gg/coach-scraper/58815d3ae5a69cac12436a01e77019a5ac5d16a7";
|
||||
in
|
||||
|
@ -43,6 +43,16 @@ in
|
|||
};
|
||||
};
|
||||
|
||||
# We use this to seed our database. Run as follows:
|
||||
# ```bash
|
||||
# $ coach-scraper \
|
||||
# --host 127.0.0.1 \
|
||||
# --user postgres \
|
||||
# --dbname boardwise \
|
||||
# --user-agent <email> \
|
||||
# --site lichess \
|
||||
# --site chesscom
|
||||
# ```
|
||||
environment.systemPackages = [
|
||||
coach-scraper.packages.${system}.app
|
||||
];
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{ system, ... }:
|
||||
let
|
||||
portfolio = builtins.getFlake
|
||||
"github:jrpotter/portfolio/869cbe0f566814caa8a791d956ea794004f2eb7d";
|
||||
"github:jrpotter/portfolio/987e606455d37341ff7127bb396e10f017350e83";
|
||||
in
|
||||
{
|
||||
services.nginx.virtualHosts."www.jrpotter.com" = {
|
||||
|
|
Loading…
Reference in New Issue