From: Skullheadx Date: Tue, 2 Jun 2026 18:59:31 +0000 (-0400) Subject: irc senpai + soju X-Git-Url: http://git.skullheadx.com/nixos/static/index.html?a=commitdiff_plain;h=ad14e05ccf1f2c3e594e508cfb1737dc8a2b01cf;p=nixos.git irc senpai + soju --- diff --git a/dotfiles/senpai/senpai.scfg b/dotfiles/senpai/senpai.scfg new file mode 100644 index 0000000..ac5b441 --- /dev/null +++ b/dotfiles/senpai/senpai.scfg @@ -0,0 +1,5 @@ +address skullheadx.com +nickname Skullheadx +username andrew +password-cmd "echo ~/.soju-pass" +channel #lobsters #emacs diff --git a/hosts/icon/configuration.nix b/hosts/icon/configuration.nix index 5407b3d..7ec11df 100644 --- a/hosts/icon/configuration.nix +++ b/hosts/icon/configuration.nix @@ -47,7 +47,8 @@ users.users.nginx.extraGroups = ["git"]; systemd.services.nginx.serviceConfig = { SupplementaryGroups = ["git"]; - ReadOnlyPaths = ["/srv/git/repos" "/srv" "/srv/git"]; + ReadOnlyPaths = ["/srv/git" "/srv"]; + InaccessiblePaths = ["/srv/git/.ssh" "/srv/git/migrate_from_gh.sh" "/srv/git/make_new_repo.sh"]; }; # systemd.services.fcgiwrap.serviceConfig.ReadOnlyPaths = ["/srv/git"]; # Define a user account. Don't forget to set a password with ‘passwd’. @@ -73,7 +74,7 @@ }; services.gitweb = { - projectroot = "/srv/git/repos"; + projectroot = "/srv/git"; extraConfig = '' $site_name = "Skullheadx\'s Git Forge"; $omit_owner = 1; @@ -103,7 +104,7 @@ services.gitDaemon = { enable = true; - basePath = "/srv/git/repos"; + basePath = "/srv/git"; listenAddress = "10.0.0.2"; exportAll = false; }; @@ -117,6 +118,16 @@ } ]; + # IRC + services.soju = { + adminSocket.enable = true; + enable = true; + listen = [ + "irc+insecure://10.0.0.2:6667" + ]; + hostName = "skullheadx.com"; + }; + networking.hostName = "icon"; # networking.wireless.enable = true; # Enables wireless support via wpa_supplicant. @@ -160,7 +171,7 @@ }; # Open ports in the firewall. - networking.firewall.allowedTCPPorts = [9418 8080]; + networking.firewall.allowedTCPPorts = [9418 8080 6667]; networking.firewall.allowedUDPPorts = [55555]; # Or disable the firewall altogether. # networking.firewall.enable = false;