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:
parent
4e06330d20
commit
ed4a26070b
@ -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
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;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user