mirror of
https://github.com/harryssecret/homelab-nix.git
synced 2025-08-07 22:20:33 +02:00
fix: removed dionysos
This commit is contained in:
parent
d64d2bce9e
commit
5ef6dabdd8
5 changed files with 0 additions and 159 deletions
|
@ -1,71 +0,0 @@
|
|||
{
|
||||
config,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
let
|
||||
username = "harry123";
|
||||
in
|
||||
{
|
||||
imports = [ ../../features/server/tailscale.nix ];
|
||||
environment.systemPackages = with pkgs; [
|
||||
weechat
|
||||
tmux
|
||||
];
|
||||
|
||||
services.weechat.enable = true;
|
||||
programs.tmux = {
|
||||
enable = true;
|
||||
clock24 = true;
|
||||
};
|
||||
|
||||
system.stateVersion = "24.05";
|
||||
|
||||
users.users.${username} = {
|
||||
isNormalUser = true;
|
||||
|
||||
openssh.authorizedKeys.keys = [
|
||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIA8sdToNavEQv7PTMJ97HIGM6UlChwGS3x9O8hFilzui harryh@ik.me"
|
||||
];
|
||||
};
|
||||
|
||||
users.users.${username}.initialHashedPassword =
|
||||
"$y$j9T$s4isXqWcg4N8TEPjmj0fD/$zog2cpUwstnvwDnQsFmH3br/WAeD2Uu/L7ePr00cKkA";
|
||||
|
||||
environment.variables.EDITOR = "nvim";
|
||||
|
||||
# TODO: migrate this to sisyphe
|
||||
services.nginx = {
|
||||
enable = true;
|
||||
recommendedGzipSettings = true;
|
||||
recommendedOptimisation = true;
|
||||
recommendedProxySettings = true;
|
||||
# You'd think this is a good idea, but Safari doesn't support 1.3 on websockets yet from my testing in 2020. If one is only using Chrome, consider it.
|
||||
# sslProtocols = "TLSv1.3";
|
||||
virtualHosts = {
|
||||
"irc.hypervirtual.world" = {
|
||||
forceSSL = true;
|
||||
enableACME = true;
|
||||
locations."^~ /weechat" = {
|
||||
proxyPass = "http://127.0.0.1:9000/weechat/";
|
||||
proxyWebsockets = true;
|
||||
};
|
||||
locations."/" = {
|
||||
root = pkgs.glowing-bear;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
services.oauth2.proxy = {
|
||||
enable = true;
|
||||
email.addresses = ''
|
||||
# your email goes here for authorization
|
||||
'';
|
||||
nginx.virtualhosts = [
|
||||
"irc.hypervirtual.world"
|
||||
];
|
||||
clientID = "";
|
||||
keyFile = "";
|
||||
};
|
||||
};
|
||||
}
|
|
@ -1,57 +0,0 @@
|
|||
{ pkgs, ... }:
|
||||
{
|
||||
services.caddy = {
|
||||
enable = true;
|
||||
package = (
|
||||
pkgs.callPackage
|
||||
"${builtins.fetchurl "https://raw.githubusercontent.com/jpds/nixpkgs/a33b02fa9d664f31dadc8a874eb1a5dbaa9f4ecf/pkgs/servers/caddy/default.nix"}"
|
||||
{
|
||||
externalPlugins = [
|
||||
{
|
||||
name = "caddy-dns/acmedns";
|
||||
repo = "https://github.com/caddy-dns/acmedns";
|
||||
version = "";
|
||||
}
|
||||
{
|
||||
name = "caddy-dns/cloudflare";
|
||||
repo = "https://github.com/caddy-dns/cloudflare";
|
||||
version = "";
|
||||
}
|
||||
];
|
||||
}
|
||||
);
|
||||
|
||||
virtualHosts = {
|
||||
"hypervirtual.world" = {
|
||||
serverAliases = [ "www.hypervirtual.world" ];
|
||||
extraConfig = ''
|
||||
encode zstd gzip
|
||||
reverse_proxy 192.168.1.203:8088
|
||||
'';
|
||||
};
|
||||
"git.hypervirtual.world".extraConfig = ''
|
||||
reverse_proxy 192.168.1.177:80
|
||||
encode zstd gzip
|
||||
'';
|
||||
|
||||
"freshrss.hypervirtual.world".extraConfig = '''';
|
||||
"status.hypervirtual.world".extraConfig = '''';
|
||||
"books.hypervirtual.world".extraConfig = '''';
|
||||
"fish.hypervirtual.world".extraConfig = '''';
|
||||
"cloud.hypervirtual.world".extraConfig = ''
|
||||
redir /.well-known/carddav /remote.php/dav/ 301
|
||||
redir /.well-known/caldav /remote.php/dav/ 301
|
||||
|
||||
reverse_proxy 192.168.1.177:80
|
||||
encode zstd gzip
|
||||
'';
|
||||
|
||||
# TODO: migrate rougebordeaux config
|
||||
"rougebordeaux.xyz" = {
|
||||
|
||||
};
|
||||
|
||||
"pds.rougebordeaux.xyz".extraConfig = '''';
|
||||
};
|
||||
};
|
||||
}
|
|
@ -1,3 +0,0 @@
|
|||
{
|
||||
# TODO: configure i2pd redirection
|
||||
}
|
|
@ -1,15 +0,0 @@
|
|||
{config, ...}: {
|
||||
|
||||
services.znc = {
|
||||
enable = true;
|
||||
mutable = false; # Overwrite configuration set by ZNC from the web and chat interfaces.
|
||||
useLegacyConfig = false; # Turn off services.znc.confOptions and their defaults.
|
||||
openFirewall = true; # ZNC uses TCP port 5000 by default.
|
||||
config = {
|
||||
Listener = {
|
||||
"Motd" = "welcome to hypervirtual's irc bouncer - using znc";
|
||||
"SSLProtocols" = "-SSLv2 -SSLv3 -TLSv1 +TLSv1.1 +TLSv1.2";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
|
@ -1,13 +0,0 @@
|
|||
U2FsdGVkX1/KBXWMpf1DqMWCTOr3Ao7hJ9RPX9WEeGdi5pwsUZu50275uByg/fku
|
||||
dStEPuVPKHU35mVvLMi938hIAjHb0Vqt3MKjMxwhp0SgbxevnVpWK79AUMzkaNel
|
||||
mMGYTMrarL/aRDvlw+l2TiH2/4Pq0DsL/4oMgXQSE6xh9G4jSzmMRV9AEKcs8mSK
|
||||
SW+WDg8lLeKi8Y/c7KVx6ZP6TVLpDX4xRToxy9SbyNpSads4cZJLGnLALRYdJl46
|
||||
PQKmV2xOnKLAYTN36yzrbZZBXtvURUFKObyhGKVLwdDwfarxG7fi/PAH9A7FIE8B
|
||||
xIUU6mPUHy0FdQ/vUh4NeJounTr9i4wmhfJo/aRXB/HlmZA5/zihZwcIv9/GM3gM
|
||||
B+nud++PfTVB3M1LXMyCyBOEWqcyADdxSeN4LwdBMAsrufs2gB/gdv3JNhqqJdXa
|
||||
E2sEq4OXW/A+1w2ADUZ1l490s7RpQSxWv0JHXgRsm91TIdT6YpNpq8AMHEfLSxE5
|
||||
SSX7Yynh1dqgYqzWqFkHIzZ2UYlzrCyCRVLX2Jwcyf6L9Qa62SGhKj5Yml4p7zga
|
||||
U2U5Y96GPvKD+WzxliCVxmLSkH1mrnCk4oI5OgEcQzUVLmgfyrDTH+FT6l1IgpFn
|
||||
3k7BbuiZtqB9i8pOGf2mluj7+Fi7ppZserh6wwDtrPoGllls8CtbpmOagNwnxzVE
|
||||
kZ9IKUbYs0Sy7kMbZD0Ss03zeuBCWHSbikDJ0bg+p9IjtpYcoorLccIztnjmZkDn
|
||||
H1cj342muViFyWe8jfpVD1wYzkiscvg3H1CzeI+aQ58=
|
Loading…
Add table
Add a link
Reference in a new issue