1
0
mirror of https://github.com/tboerger/nixos-config synced 2024-11-26 07:43:45 +01:00

feat: add srain irc client

This commit is contained in:
Thomas Boerger 2023-01-16 10:30:01 +01:00
parent 4e06330d20
commit ed4a26070b
No known key found for this signature in database
GPG Key ID: 09745AFF9D63C79B
3 changed files with 30 additions and 0 deletions

@ -13,6 +13,7 @@
./fzf.nix
./gnupg.nix
./golang.nix
./irc.nix
./joplin.nix
./kube.nix
./lastpass.nix

26
profiles/programs/irc.nix Normal file

@ -0,0 +1,26 @@
{ pkgs, lib, config, options, ... }:
with lib;
let
cfg = config.profile.programs.irc;
in
{
options = {
profile = {
programs = {
irc = {
enable = mkEnableOption "IRC";
};
};
};
};
config = mkIf cfg.enable {
environment = {
systemPackages = with pkgs; [
srain
];
};
};
}

@ -56,6 +56,9 @@ in
golang = {
enable = desktop;
};
irc = {
enable = desktop;
};
joplin = {
enable = desktop;
};