From 5a408df4fde24ee42444d0c03baf15297587cca1 Mon Sep 17 00:00:00 2001 From: sajenim Date: Sun, 14 Apr 2024 21:55:11 +0800 Subject: [PATCH] add irc --- .../features/desktop/common/default.nix | 1 + .../sajenim/features/desktop/common/irc.nix | 19 +++++++++++++++++++ 2 files changed, 20 insertions(+) create mode 100644 home-manager/sajenim/features/desktop/common/irc.nix diff --git a/home-manager/sajenim/features/desktop/common/default.nix b/home-manager/sajenim/features/desktop/common/default.nix index f0b5c4c..0d83ccd 100644 --- a/home-manager/sajenim/features/desktop/common/default.nix +++ b/home-manager/sajenim/features/desktop/common/default.nix @@ -3,6 +3,7 @@ { imports = [ ./discord + ./irc.nix ./mpd.nix ]; } diff --git a/home-manager/sajenim/features/desktop/common/irc.nix b/home-manager/sajenim/features/desktop/common/irc.nix new file mode 100644 index 0000000..35d37a4 --- /dev/null +++ b/home-manager/sajenim/features/desktop/common/irc.nix @@ -0,0 +1,19 @@ +{ pkgs, ... }: + +{ + home.packages = with pkgs; [ + weechat + ]; + + home.persistence."/persist/home/sajenim" = { + directories = [ + # WeeChat configuration files: *.conf, certificates, etc. + ".config/weechat" + # WeeChat data files: logs, scripts, scripts data, xfer files, etc. + ".local/share/weechat" + # WeeChat cache files: scripts cache. + ".cache/weechat" + ]; + }; +} +