]> Git — Sourcephile - julm/julm-nix.git/blob - homes/softwares/irssi.nix
backup: tweak sanoid conf
[julm/julm-nix.git] / homes / softwares / irssi.nix
1 { pkgs, lib, config, ... }:
2 {
3 #nixpkgs.overlays = [ (import irssi/overlay.nix) ];
4 programs.irssi = {
5 extraConfig = builtins.readFile irssi/config;
6 };
7 home.file.".irssi/default.theme".source = irssi/default.theme;
8 home.file.".irssi/startup".text = ''
9 load otr
10 '';
11 home.file.".irssi/scripts/autorun/passwd.pl".source = pkgs.fetchurl {
12 meta.description = "Irssi dynamic password script";
13 url = "https://raw.githubusercontent.com/gandalf3/irssi-passwd/master/passwd.pl";
14 sha256 = "1m2lyv3kghhgccjwgnrrj4s57x7d0p6yvzfvfc8xq1kdvvp2rngj";
15 };
16 home.file.".irssi/scripts/autorun/adv_windowlist.pl".source = pkgs.fetchurl {
17 meta.description = "Irssi advanced window list";
18 url = "https://raw.githubusercontent.com/irssi/scripts.irssi.org/master/scripts/adv_windowlist.pl";
19 sha256 = "sha256-V91x964GIL5bh+fuOg7OrlK1Bv3jwqhESi/n/Hvdn7c=";
20 };
21 home.file.".irssi/scripts/autorun/nickcolor.pl".source = pkgs.fetchurl {
22 meta.description = "Irssi nick color";
23 url = "https://raw.githubusercontent.com/irssi/scripts.irssi.org/master/scripts/nickcolor.pl";
24 sha256 = "1imn2ryxq8j7d2iy8cyjnzri83flkz7f34xx8cfj0hlijgqbbir1";
25 };
26 }