1
0
Fork 0
mirror of https://github.com/nix-community/home-manager.git synced 2025-11-08 11:36:05 +01:00

abaddon: add module

This commit is contained in:
Aguirre Matteo 2025-09-18 13:25:02 -03:00 committed by Austin Horstman
parent b5698ed57d
commit acaf3971c1
4 changed files with 100 additions and 0 deletions

View file

@ -0,0 +1,15 @@
[discord]
autoconnect=true
token=MZ1yGvKTjE0rY0cV8i47CjAa.uRHQPq.Xb1Mk2nEhe-4iUcrGOuegj57zMC
[gui]
alt_menu=true
animations=false
hide_to_tray=true
stock_emojis=false
[notifications]
enabled=false
[windows]
hideconsole=true

View file

@ -0,0 +1,5 @@
{ lib, pkgs, ... }:
lib.optionalAttrs pkgs.stdenv.hostPlatform.isLinux {
abaddon-example-config = ./example-config.nix;
}

View file

@ -0,0 +1,26 @@
{
programs.abaddon = {
enable = true;
settings = {
windows.hideconsole = true;
notifications.enabled = false;
discord = {
token = "MZ1yGvKTjE0rY0cV8i47CjAa.uRHQPq.Xb1Mk2nEhe-4iUcrGOuegj57zMC";
autoconnect = true;
};
gui = {
stock_emojis = false;
animations = false;
alt_menu = true;
hide_to_tray = true;
};
};
};
nmt.script = ''
assertFileExists home-files/.config/abaddon/abaddon.ini
assertFileContent home-files/.config/abaddon/abaddon.ini \
${./abaddon.ini}
'';
}