feat(users/Sk7Str1p3): discord basic configuration
This commit is contained in:
parent
928068dfa2
commit
b5ec915d8a
3 changed files with 28 additions and 0 deletions
|
|
@ -1,3 +1,4 @@
|
||||||
{
|
{
|
||||||
programs.music.spotify.enable = true;
|
programs.music.spotify.enable = true;
|
||||||
|
programs.chats.discord.enable = true;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,6 @@
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
./spotify.nix
|
./spotify.nix
|
||||||
|
./nixcord.nix
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
|
||||||
26
users/Sk7Str1p3/modules/nixcord.nix
Normal file
26
users/Sk7Str1p3/modules/nixcord.nix
Normal file
|
|
@ -0,0 +1,26 @@
|
||||||
|
{
|
||||||
|
inputs,
|
||||||
|
lib,
|
||||||
|
config,
|
||||||
|
pkgs,
|
||||||
|
...
|
||||||
|
}:
|
||||||
|
{
|
||||||
|
imports = [
|
||||||
|
inputs.nixcord.homeModules.nixcord
|
||||||
|
(lib.mkAliasOptionModule [ "programs" "chats" "discord" ] [ "programs" "nixcord" ])
|
||||||
|
];
|
||||||
|
|
||||||
|
programs.chats.discord = {
|
||||||
|
discord.enable = false;
|
||||||
|
vesktop = {
|
||||||
|
enable = true;
|
||||||
|
package = pkgs.vesktop.override {
|
||||||
|
withTTS = false;
|
||||||
|
withMiddleClickScroll = true;
|
||||||
|
withSystemVencord = true;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
services.arrpc.enable = config.programs.chats.discord.enable;
|
||||||
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue