From 7fffa8cded622f1713f916b3b5ef6c1dc940836d Mon Sep 17 00:00:00 2001 From: tdback Date: Sun, 26 Jan 2025 11:41:02 -0500 Subject: users/tdback: formatted modules --- users/tdback/modules/irc/default.nix | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'users/tdback/modules/irc') 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"; }; }; }; -- cgit v1.2.3