Good2
This commit is contained in:
parent
34a538489a
commit
8a24e59c78
2 changed files with 20 additions and 20 deletions
|
@ -7,11 +7,11 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1708463499,
|
"lastModified": 1708573384,
|
||||||
"narHash": "sha256-GvqU+Z3cZkgMXf41vfMELLKPk+EVUl1UMW56Gz5ccrU=",
|
"narHash": "sha256-l4MSfNXfPdY1hPtKwsAvqMuIhnjDqgmE2Bq6J8h5wyw=",
|
||||||
"ref": "refs/heads/master",
|
"ref": "refs/heads/master",
|
||||||
"rev": "e3f0cae4f75101706bc8b9a822f7d90b03a91702",
|
"rev": "4d7f82fe9b5d7d3881455577f7477049d1db130c",
|
||||||
"revCount": 80,
|
"revCount": 81,
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "ssh://gitea@git.lyte.dev/lytedev/api.lyte.dev.git"
|
"url": "ssh://gitea@git.lyte.dev/lytedev/api.lyte.dev.git"
|
||||||
},
|
},
|
||||||
|
|
|
@ -10,7 +10,7 @@ sudo nix run nixpkgs#ipmitool -- raw 0x30 0x30 0x02 0xff 0x00
|
||||||
{
|
{
|
||||||
# inputs,
|
# inputs,
|
||||||
# outputs,
|
# outputs,
|
||||||
# api-lyte-dev,
|
api-lyte-dev,
|
||||||
config,
|
config,
|
||||||
pkgs,
|
pkgs,
|
||||||
...
|
...
|
||||||
|
@ -23,7 +23,7 @@ in {
|
||||||
../modules/nixos/fonts.nix
|
../modules/nixos/fonts.nix
|
||||||
]
|
]
|
||||||
++ [
|
++ [
|
||||||
# api-lyte-dev.nixosModules.api-lyte-dev
|
api-lyte-dev.nixosModules.api-lyte-dev
|
||||||
|
|
||||||
# inputs.nix-minecraft.nixosModules.minecraft-servers
|
# inputs.nix-minecraft.nixosModules.minecraft-servers
|
||||||
];
|
];
|
||||||
|
@ -62,16 +62,16 @@ in {
|
||||||
secretKeyFile = "/var/cache-priv-key.pem";
|
secretKeyFile = "/var/cache-priv-key.pem";
|
||||||
};
|
};
|
||||||
|
|
||||||
# services.api-lyte-dev = rec {
|
services.api-lyte-dev = rec {
|
||||||
# enable = true;
|
enable = true;
|
||||||
# port = 5757;
|
port = 5757;
|
||||||
# stateDir = "/var/lib/api-lyte-dev";
|
stateDir = "/var/lib/api-lyte-dev";
|
||||||
# configFile = config.sops.secrets."api.lyte.dev".path;
|
configFile = config.sops.secrets."api.lyte.dev".path;
|
||||||
# user = "api-lyte-dev";
|
user = "api-lyte-dev";
|
||||||
# group = user;
|
group = user;
|
||||||
# };
|
};
|
||||||
|
|
||||||
# systemd.services.api-lyte-dev.environment.LOG_LEVEL = "debug";
|
systemd.services.api-lyte-dev.environment.LOG_LEVEL = "debug";
|
||||||
|
|
||||||
sops = {
|
sops = {
|
||||||
defaultSopsFile = ../secrets/beefcake/secrets.yml;
|
defaultSopsFile = ../secrets/beefcake/secrets.yml;
|
||||||
|
@ -107,8 +107,8 @@ in {
|
||||||
# path = "${config.services.api-lyte-dev.stateDir}/secrets.json";
|
# path = "${config.services.api-lyte-dev.stateDir}/secrets.json";
|
||||||
# TODO: would be cool to assert that it's correctly-formatted JSON? probably should be done in a pre-commit hook?
|
# TODO: would be cool to assert that it's correctly-formatted JSON? probably should be done in a pre-commit hook?
|
||||||
mode = "0440";
|
mode = "0440";
|
||||||
# owner = config.services.api-lyte-dev.user;
|
owner = config.services.api-lyte-dev.user;
|
||||||
# group = config.services.api-lyte-dev.group;
|
group = config.services.api-lyte-dev.group;
|
||||||
};
|
};
|
||||||
|
|
||||||
"jland.env" = {
|
"jland.env" = {
|
||||||
|
@ -315,9 +315,9 @@ in {
|
||||||
reverse_proxy :${toString config.services.vaultwarden.config.ROCKET_PORT}
|
reverse_proxy :${toString config.services.vaultwarden.config.ROCKET_PORT}
|
||||||
}
|
}
|
||||||
|
|
||||||
# api.lyte.dev {
|
api.lyte.dev {
|
||||||
# reverse_proxy :$${toString config.services.api-lyte-dev.port}
|
reverse_proxy :${toString config.services.api-lyte-dev.port}
|
||||||
# }
|
}
|
||||||
|
|
||||||
a.lyte.dev {
|
a.lyte.dev {
|
||||||
reverse_proxy :${toString config.services.plausible.server.port}
|
reverse_proxy :${toString config.services.plausible.server.port}
|
||||||
|
|
Loading…
Reference in a new issue