mirror of
https://github.com/kmein/niveum
synced 2026-03-28 23:31:07 +01:00
Compare commits
2 Commits
edcbe19fb2
...
9dae3e2d1a
| Author | SHA1 | Date | |
|---|---|---|---|
| 9dae3e2d1a | |||
| 0fea7ba938 |
@@ -82,6 +82,21 @@ in
|
|||||||
|
|
||||||
networking.firewall.allowedTCPPorts = [ 2049 ];
|
networking.firewall.allowedTCPPorts = [ 2049 ];
|
||||||
|
|
||||||
|
services.nginx.virtualHosts."moodle.kmein.r" =
|
||||||
|
let
|
||||||
|
identity = lib.strings.fileContents <secrets/eduroam/identity>;
|
||||||
|
password = lib.strings.fileContents <secrets/eduroam/password>;
|
||||||
|
in {
|
||||||
|
basicAuth."${identity}" = password;
|
||||||
|
locations."/" = {
|
||||||
|
root = config.services.moodle-dl.directory;
|
||||||
|
extraConfig = ''
|
||||||
|
autoindex on;
|
||||||
|
charset UTF-8;
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
services.nfs.server = {
|
services.nfs.server = {
|
||||||
enable = true;
|
enable = true;
|
||||||
exports = let machines = with (import <niveum/lib>).retiolumAddresses; [kabsa manakish]; in ''
|
exports = let machines = with (import <niveum/lib>).retiolumAddresses; [kabsa manakish]; in ''
|
||||||
|
|||||||
@@ -23,7 +23,7 @@ in {
|
|||||||
'';
|
'';
|
||||||
weechat = pkgs.weechat.override {
|
weechat = pkgs.weechat.override {
|
||||||
configure = { ... }: {
|
configure = { ... }: {
|
||||||
scripts = [ pkgs.weechatScripts.weechat-autosort pkgs.weechatScripts.colorize_nicks ];
|
scripts = [ pkgs.weechatScripts.weechat-autosort pkgs.weechatScripts.colorize_nicks pkgs.weechatScripts.weechat-matrix ];
|
||||||
init = let
|
init = let
|
||||||
coolColors = lib.lists.subtractLists (lib.range 52 69 ++ lib.range 231 248) (lib.range 31 254);
|
coolColors = lib.lists.subtractLists (lib.range 52 69 ++ lib.range 231 248) (lib.range 31 254);
|
||||||
nick = "kmein";
|
nick = "kmein";
|
||||||
@@ -43,12 +43,16 @@ in {
|
|||||||
/server add oftc irc.oftc.net/6697 -ssl -ipv6
|
/server add oftc irc.oftc.net/6697 -ssl -ipv6
|
||||||
/server add retiolum irc.r
|
/server add retiolum irc.r
|
||||||
/server add news news.r
|
/server add news news.r
|
||||||
|
/matrix server add nibbana nibbana.jp
|
||||||
|
|
||||||
/alias add mod /quote omode $channel +o $nick
|
/alias add mod /quote omode $channel +o $nick
|
||||||
|
|
||||||
/relay add weechat 9000
|
/relay add weechat 9000
|
||||||
/set relay.network.password ${relayPassword}
|
/set relay.network.password ${relayPassword}
|
||||||
|
|
||||||
|
/set matrix.server.myserver.username ${nick}
|
||||||
|
/set matrix.server.myserver.password "${lib.strings.fileContents <system-secrets/matrix/nibbana>}"
|
||||||
|
|
||||||
/set irc.server.oftc.command /msg nickserv IDENTIFY ${lib.strings.fileContents <system-secrets/irc/oftc>};/msg nickserv SET CLOAK ON
|
/set irc.server.oftc.command /msg nickserv IDENTIFY ${lib.strings.fileContents <system-secrets/irc/oftc>};/msg nickserv SET CLOAK ON
|
||||||
/set irc.server.oftc.autojoin "#osm,#osm-de,#home-manager"
|
/set irc.server.oftc.autojoin "#osm,#osm-de,#home-manager"
|
||||||
|
|
||||||
@@ -80,6 +84,7 @@ in {
|
|||||||
/connect hackint
|
/connect hackint
|
||||||
/connect retiolum
|
/connect retiolum
|
||||||
/connect news
|
/connect news
|
||||||
|
/matrix connect nibbana
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user