aboutsummaryrefslogtreecommitdiff
path: root/users/tdback/modules/irc
diff options
context:
space:
mode:
Diffstat (limited to 'users/tdback/modules/irc')
-rw-r--r--users/tdback/modules/irc/default.nix14
1 files changed, 7 insertions, 7 deletions
diff --git a/users/tdback/modules/irc/default.nix b/users/tdback/modules/irc/default.nix
index 57b6de5..6ecf31f 100644
--- a/users/tdback/modules/irc/default.nix
+++ b/users/tdback/modules/irc/default.nix
@@ -1,16 +1,16 @@
-{ ... }:
-let
- user = "tdback";
-in
+{
+ config,
+ ...
+}:
{
programs.irssi = {
enable = true;
extraConfig = ''
- settings = { core = { real_name = "${user}"; }; };
+ settings = { core = { real_name = "${config.home.username}"; }; };
'';
networks = {
liberachat = {
- nick = "${user}";
+ nick = config.home.username;
saslExternal = true;
server = {
address = "irc.libera.chat";
@@ -19,7 +19,7 @@ in
ssl = {
enable = true;
verify = true;
- certificateFile = "/home/${user}/.irssi/certs/libera.pem";
+ certificateFile = "/home/${config.home.username}/.irssi/certs/libera.pem";
};
};
};