aboutsummaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authorMiran Bastaja <miran.bastaja04@gmail.com>2024-09-10 23:47:25 +0200
committerMiran Bastaja <miran.bastaja04@gmail.com>2024-09-11 00:02:35 +0200
commit6ca422c900c1ae7c28457c262f066d161eab591c (patch)
tree895edcbf0d25d38d2fe941aabff985767c9b6f5b /share
parent5db76aa08e8bd2da91aa110f4229b5d3a6f0bbfd (diff)
hyprdesktop: enable senpai IRC client
Diffstat (limited to 'share')
-rw-r--r--share/cfg/default.nix1
-rw-r--r--share/cfg/senpai.nix7
-rw-r--r--share/hm-modules/hyprdesktop.nix1
3 files changed, 7 insertions, 2 deletions
diff --git a/share/cfg/default.nix b/share/cfg/default.nix
index 373e1a1..dfee598 100644
--- a/share/cfg/default.nix
+++ b/share/cfg/default.nix
@@ -16,5 +16,6 @@
./shellenv.nix
./hyprland.nix
./jujutsu.nix
+ ./senpai.nix
];
}
diff --git a/share/cfg/senpai.nix b/share/cfg/senpai.nix
index 43d5083..4440a6d 100644
--- a/share/cfg/senpai.nix
+++ b/share/cfg/senpai.nix
@@ -1,8 +1,11 @@
-{ config, ... }:
+{ sops, ... }:
{
programs.senpai.config = {
address = "irc.libera.chat";
nickname = "miranb";
- password-cmd = "cat ${config.sops.secrets."irc/libera-password".path}";
+ password-cmd = [
+ "cat"
+ sops.secrets."irc/libera-password".path
+ ];
};
}
diff --git a/share/hm-modules/hyprdesktop.nix b/share/hm-modules/hyprdesktop.nix
index ce997f8..135a457 100644
--- a/share/hm-modules/hyprdesktop.nix
+++ b/share/hm-modules/hyprdesktop.nix
@@ -160,6 +160,7 @@ in
programs.atuin.enable = true;
programs.nix-index.enable = true;
programs.zoxide.enable = true;
+ programs.senpai.enable = true;
programs.direnv = {
enable = true;