mirror of
https://github.com/lightly-toasted/nix-config.git
synced 2025-10-04 11:35:41 +00:00
Compare commits
2 commits
e4f700f87b
...
b394df67f4
Author | SHA1 | Date | |
---|---|---|---|
b394df67f4 | |||
78ef47c410 |
4 changed files with 26 additions and 1 deletions
|
@ -2,7 +2,7 @@
|
|||
|
||||
let
|
||||
script = pkgs.writeShellScriptBin "deafen-action" ''
|
||||
hyprctl dispatch sendshortcut CTRL+SHIFT, D, 'class:^(vencord)$'
|
||||
hyprctl dispatch sendshortcut CTRL+SHIFT, D, 'class:^(vesktop)$'
|
||||
'';
|
||||
in
|
||||
{
|
||||
|
|
|
@ -9,6 +9,11 @@
|
|||
reverse_proxy http://127.0.0.1:3000
|
||||
'';
|
||||
|
||||
# forgejo
|
||||
virtualHosts."git.toast.name".extraConfig = ''
|
||||
reverse_proxy http://127.0.0.1:3001
|
||||
'';
|
||||
|
||||
# vaultwarden
|
||||
virtualHosts."vps.curl-pence.ts.net".extraConfig = ''
|
||||
reverse_proxy /vaultwarden/* http://127.0.0.1:8222
|
||||
|
|
|
@ -5,5 +5,6 @@
|
|||
./openssh.nix
|
||||
./zipline.nix
|
||||
./caddy.nix
|
||||
./forgejo.nix
|
||||
];
|
||||
}
|
||||
|
|
19
hosts/vps/modules/services/forgejo.nix
Normal file
19
hosts/vps/modules/services/forgejo.nix
Normal file
|
@ -0,0 +1,19 @@
|
|||
{
|
||||
services.forgejo = {
|
||||
enable = true;
|
||||
settings = {
|
||||
server = {
|
||||
HTTP_ADDR = "127.0.0.1";
|
||||
HTTP_PORT = 3001;
|
||||
DOMAIN = "git.toast.name";
|
||||
ROOT_URL = "https://git.toast.name/";
|
||||
LANDING_PAGE = "explore";
|
||||
};
|
||||
service.DISABLE_REGISTRATION = true;
|
||||
actions = {
|
||||
ENABLED = true;
|
||||
DEFAULT_ACTIONS_URL = "github";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue