tsuki: add osuchan service
This commit is contained in:
@@ -29,6 +29,11 @@
|
|||||||
flake = false;
|
flake = false;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
osuchan = {
|
||||||
|
url = "git+file:///home/h7x4/git/osuchan-line-bot";
|
||||||
|
# inputs.nixpkgs.follows = "nixpkgs";
|
||||||
|
};
|
||||||
|
|
||||||
website = {
|
website = {
|
||||||
url = "git+https://git.nani.wtf/h7x4/nani.wtf?ref=main";
|
url = "git+https://git.nani.wtf/h7x4/nani.wtf?ref=main";
|
||||||
# url = "path:/home/h7x4/git/nani.wtf";
|
# url = "path:/home/h7x4/git/nani.wtf";
|
||||||
@@ -65,6 +70,7 @@
|
|||||||
vscode-server,
|
vscode-server,
|
||||||
secrets,
|
secrets,
|
||||||
fonts,
|
fonts,
|
||||||
|
osuchan,
|
||||||
maunium-stickerpicker,
|
maunium-stickerpicker,
|
||||||
dotfiles,
|
dotfiles,
|
||||||
website
|
website
|
||||||
@@ -79,7 +85,7 @@
|
|||||||
android_sdk.accept_license = true;
|
android_sdk.accept_license = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
# overlays = [ self.overlays.lib ];
|
overlays = [ osuchan.overlays.default ];
|
||||||
};
|
};
|
||||||
|
|
||||||
pkgs = import nixpkgs pkgs-config;
|
pkgs = import nixpkgs pkgs-config;
|
||||||
@@ -126,6 +132,7 @@
|
|||||||
"${vscode-server}/default.nix"
|
"${vscode-server}/default.nix"
|
||||||
|
|
||||||
secrets.outputs.nixos-config
|
secrets.outputs.nixos-config
|
||||||
|
osuchan.outputs.nixosModules.default
|
||||||
|
|
||||||
{
|
{
|
||||||
config._module.args = {
|
config._module.args = {
|
||||||
|
@@ -13,6 +13,7 @@
|
|||||||
# ./services/keycloak.nix
|
# ./services/keycloak.nix
|
||||||
./services/matrix
|
./services/matrix
|
||||||
./services/nginx
|
./services/nginx
|
||||||
|
./services/osuchan.nix
|
||||||
./services/plex.nix
|
./services/plex.nix
|
||||||
./services/postgres.nix
|
./services/postgres.nix
|
||||||
./services/vscode-server.nix
|
./services/vscode-server.nix
|
||||||
|
@@ -107,6 +107,7 @@
|
|||||||
(proxy ["py"] "http://localhost:${s ports.jupyterhub}" {
|
(proxy ["py"] "http://localhost:${s ports.jupyterhub}" {
|
||||||
locations."/".proxyWebsockets = true;
|
locations."/".proxyWebsockets = true;
|
||||||
})
|
})
|
||||||
|
(proxy ["osu"] "http://localhost:${s ports.osuchan}" {})
|
||||||
# (host ["vpn"] "" {})
|
# (host ["vpn"] "" {})
|
||||||
(proxy ["hydra"] "http://localhost:${s ports.hydra}" {})
|
(proxy ["hydra"] "http://localhost:${s ports.hydra}" {})
|
||||||
] ++ (let
|
] ++ (let
|
||||||
|
8
hosts/tsuki/services/osuchan.nix
Normal file
8
hosts/tsuki/services/osuchan.nix
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
{ secrets, config, ... }:
|
||||||
|
{
|
||||||
|
services.osuchan = {
|
||||||
|
enable = true;
|
||||||
|
port = secrets.ports.osuchan;
|
||||||
|
secretFile = "${config.machineVars.dataDrives.default}/keys/osuchan/envfile";
|
||||||
|
};
|
||||||
|
}
|
Reference in New Issue
Block a user