From ff97c8886b36395b100b67b756cc67756c094915 Mon Sep 17 00:00:00 2001 From: Matei Adriel Date: Thu, 1 Feb 2024 00:04:04 +0100 Subject: [PATCH] Configure catgirl --- README.md | 6 ++++++ home/features/cli/catgirl.nix | 14 ++++++++++++++ home/tethys.nix | 2 +- 3 files changed, 21 insertions(+), 1 deletion(-) create mode 100644 home/features/cli/catgirl.nix diff --git a/README.md b/README.md index de8bb17..38a91b3 100644 --- a/README.md +++ b/README.md @@ -33,6 +33,7 @@ This repo's structure is based on the concept of hosts - individual machines con | [overlays](./overlays) | Nix overlays | | [pkgs](./pkgs) | Nix packages | | [flake.nix](./flake.nix) | Nix flake entrypoint! | +| [scripts](./scripts) | Bash scripts that come in handy when on a live cd | | [.sops.yaml](./.sops.yaml) | Sops entrypoint | | [stylua.toml](./stylua.toml) | Lua formatter config for the repo | @@ -89,13 +90,18 @@ Here's some things you might want to check out: - [Starship](https://starship.rs/) — shell prompt - [Ranger](https://github.com/ranger/ranger) — file manager - [GPG](https://gnupg.org/) + [pass](https://www.passwordstore.org/) +- [Catgirl](https://git.causal.agency/catgirl/about/) — irc client - Self management: - [Smos](https://github.com/NorfairKing/smos) — A comprehensive self-management System. - [Intray](https://github.com/NorfairKing/intray) — GTD capture tool. ### Services +Most services are served over [tailscale](https://tailscale.com/), using certificates generated by [let's encrypt](https://letsencrypt.org/). + - [Syncthing](https://syncthing.net/) — file synchronization +- [Whoogle](https://github.com/benbusby/whoogle-search#manual-docker) — search engine +- [Pounce](https://git.causal.agency/pounce/about/) & [calico](https://git.causal.agency/pounce/about/calico.1) — irc bouncer ## Hall of fame diff --git a/home/features/cli/catgirl.nix b/home/features/cli/catgirl.nix new file mode 100644 index 0000000..533e128 --- /dev/null +++ b/home/features/cli/catgirl.nix @@ -0,0 +1,14 @@ +# Catgirl is a terminal based irc client +{ config, pkgs, ... }: +let + mkCatgirlNetwork = network: '' + host = ${network}.irc.moonythm.dev + save = ${network} + 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"; +} diff --git a/home/tethys.nix b/home/tethys.nix index 8fd1fbf..d3e34e4 100644 --- a/home/tethys.nix +++ b/home/tethys.nix @@ -9,6 +9,7 @@ ./features/cli/productivity ./features/cli/pass.nix ./features/cli/nix-index.nix + ./features/cli/catgirl.nix ./features/wayland/hyprland ./features/neovim ]; @@ -34,7 +35,6 @@ # }}} # {{{ Clis # sherlock # Search for usernames across different websites - catgirl # irc client # }}} # {{{ Misc obsidian # Notes