add weechat
This commit is contained in:
parent
8e71170ebd
commit
59f786f408
3 changed files with 26 additions and 5 deletions
|
@ -41,6 +41,7 @@
|
||||||
};
|
};
|
||||||
chat = {
|
chat = {
|
||||||
discord.enable = true;
|
discord.enable = true;
|
||||||
|
weechat.enable = true;
|
||||||
};
|
};
|
||||||
game = {
|
game = {
|
||||||
wine.enable = true;
|
wine.enable = true;
|
||||||
|
|
21
modules/desktop/chat/weechat/default.nix
Normal file
21
modules/desktop/chat/weechat/default.nix
Normal file
|
@ -0,0 +1,21 @@
|
||||||
|
{
|
||||||
|
outputs,
|
||||||
|
options,
|
||||||
|
config,
|
||||||
|
lib,
|
||||||
|
pkgs,
|
||||||
|
...
|
||||||
|
}:
|
||||||
|
with lib; let
|
||||||
|
cfg = config.modules.desktop.chat.weechat;
|
||||||
|
in {
|
||||||
|
options.modules.desktop.chat.weechat = {
|
||||||
|
enable = mkEnableOption false;
|
||||||
|
};
|
||||||
|
|
||||||
|
config = mkIf cfg.enable {
|
||||||
|
users.users.sako.packages = with pkgs; [
|
||||||
|
weechat
|
||||||
|
];
|
||||||
|
};
|
||||||
|
}
|
|
@ -1,7 +1,6 @@
|
||||||
{ inputs, ...}:
|
{inputs, ...}: {
|
||||||
{
|
|
||||||
# This one brings our custom packages from the 'pkgs' directory
|
# This one brings our custom packages from the 'pkgs' directory
|
||||||
additions = final: _prev: import ../packages { pkgs = final; };
|
additions = final: _prev: import ../packages {pkgs = final;};
|
||||||
|
|
||||||
# This one contains whatever you want to overlay
|
# This one contains whatever you want to overlay
|
||||||
# You can change versions, add patches, set compilation flags, anything really.
|
# You can change versions, add patches, set compilation flags, anything really.
|
||||||
|
@ -17,10 +16,10 @@
|
||||||
enableWideVine = true;
|
enableWideVine = true;
|
||||||
};
|
};
|
||||||
vimix-gtk-themes = prev.vimix-gtk-themes.override {
|
vimix-gtk-themes = prev.vimix-gtk-themes.override {
|
||||||
themeVariants = [ "ruby" ];
|
themeVariants = ["ruby"];
|
||||||
};
|
};
|
||||||
dwm = prev.dwm.overrideAttrs (old: {
|
dwm = prev.dwm.overrideAttrs (old: {
|
||||||
src = ../config/dwm;
|
src = ../config/dwm;
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue