1
Fork 0
satellite/home/features/cli/catgirl.nix

16 lines
435 B
Nix
Raw Normal View History

2024-02-01 00:04:04 +01:00
# Catgirl is a terminal based irc client
{ config, pkgs, hostname ? "hermes", ... }:
2024-02-01 00:04:04 +01:00
let
mkCatgirlNetwork = network: ''
host = ${network}.irc.moonythm.dev
save = ${network}
user = ${hostname}
2024-02-01 00:04:04 +01:00
port = 6697
'';
in
{
satellite.persistence.at.state.apps.catgirl.directories = [ "${config.xdg.dataHome}/catgirl" ];
home.packages = [ pkgs.catgirl ];
xdg.configFile."catgirl/tilde".text = mkCatgirlNetwork "tilde";
}