Home

dotnix @66bc4569a3319501fff214cb632842b5590d580d - refs - log -
-
https://git.jolheiser.com/dotnix.git
My nix dotfiles
dotnix / apps / gui / tiny.nix
- raw
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
{ config, ... }:
{
  programs.tiny = {
    enable = true;
    settings = {
      servers = [
        {
          addr = "irc.libera.chat";
          port = 6697;
          tls = true;
          realname = "jolheiser";
          nicks = [ "jolheiser" ];
          alias = "LiberaChat";
          join = [
            "#gitea"
            "#gitea-devel"
          ];
          sasl = {
            username = "jolheiser";
            password = {
              command = "cat ${config.age.secrets.irc-pw.path}";
            };
          };
        }
      ];
      defaults = {
        nicks = [ "jolheiser" ];
        realname = "jolheiser";
      };
      key_map = {
        alt_left = "tab_prev";
        alt_right = "tab_next";
      };
    };
  };
}