tree-wide change. seperated config from 'real' modles.
This commit is contained in:
parent
3eee4e105d
commit
a0c1ad0beb
59 changed files with 377 additions and 424 deletions
41
configs/home-manager/irssi.nix
Normal file
41
configs/home-manager/irssi.nix
Normal file
|
@ -0,0 +1,41 @@
|
|||
{
|
||||
config,
|
||||
pkgs,
|
||||
lib,
|
||||
...
|
||||
}: {
|
||||
options.user.irssi.enable = lib.mkEnableOption "enable irssi";
|
||||
config = lib.mkIf config.user.irssi.enable {
|
||||
programs.irssi = {
|
||||
enable = true;
|
||||
networks = {
|
||||
liberachat = {
|
||||
nick = "toric";
|
||||
server = {
|
||||
address = "irc.libera.chat";
|
||||
port = 6697;
|
||||
autoConnect = true;
|
||||
ssl = {
|
||||
enable = true;
|
||||
certificateFile = "${config.home.homeDirectory}/keys/certs/irc.pem";
|
||||
verify = true;
|
||||
};
|
||||
};
|
||||
channels = {
|
||||
libera.autoJoin = true;
|
||||
linux.autoJoin = true;
|
||||
programming.autoJoin = true;
|
||||
rust.autoJoin = true;
|
||||
nixos.autoJoin = true;
|
||||
git.autoJoin = true;
|
||||
neovim.autoJoin = true;
|
||||
kernel.autoJoin = true;
|
||||
hardware.autoJoin = true;
|
||||
lobsters.autoJoin = true;
|
||||
gamingonlinux.autoJoin = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue