diff options
author | tdback <tyler@tdback.net> | 2025-01-26 11:41:02 -0500 |
---|---|---|
committer | tdback <tyler@tdback.net> | 2025-01-26 11:41:02 -0500 |
commit | 7fffa8cded622f1713f916b3b5ef6c1dc940836d (patch) | |
tree | 5713a4bfa2419f3afb443964b379e3bd894ca71e /users/tdback/modules/irc/default.nix | |
parent | 1f2df915be866bf708eccd00235f123034578800 (diff) |
users/tdback: formatted modules
Diffstat (limited to 'users/tdback/modules/irc/default.nix')
-rw-r--r-- | users/tdback/modules/irc/default.nix | 14 |
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"; }; }; }; |