mirror of
https://github.com/itme-brain/nixos.git
synced 2026-03-23 16:29:42 -04:00
17 lines
324 B
Nix
17 lines
324 B
Nix
{ pkgs, lib, config, ... }:
|
|
|
|
with lib;
|
|
let
|
|
cfg = config.modules.user.utils.irc;
|
|
|
|
in
|
|
{ options.modules.user.utils.irc = { enable = mkEnableOption "user.utils.irc"; };
|
|
config = mkIf cfg.enable {
|
|
home.packages = with pkgs; [
|
|
weechat
|
|
];
|
|
programs.bash.shellAliases = {
|
|
chat = "weechat";
|
|
};
|
|
};
|
|
}
|