feat: discord

This commit is contained in:
punkfairie 2025-05-31 16:37:33 -07:00
parent b176aa7368
commit 49f1f933d0
Signed by: punkfairie
GPG key ID: B3C5488E9A1A7CA6
5 changed files with 11 additions and 1520 deletions

View file

@ -9,15 +9,6 @@
config.easy-hosts = {
shared.specialArgs.marleylib = import ../lib {inherit lib;};
# shared.modules = with inputs; [
# # TODO: Move module imports to custom module
# {
# home-manager.sharedModules = [
# nixcord.homeModules.nixcord
# ];
# }
# ];
perClass = class: {
modules = ["${self}/modules/${class}/default.nix"];
};

View file

@ -50,6 +50,7 @@ in {
cava = enabled;
CEmu = enabled;
cheat = enabled;
discord = enabled;
fzf = enabled;
gh = enabled;
glow = enabled;

View file

@ -9,6 +9,7 @@
./CEmu.nix
./cheat.nix
./curl.nix
./discord.nix
./eza.nix
./figlet.nix
./fish.nix

View file

@ -1,14 +1,20 @@
{
lib,
marleylib,
config,
lib,
inputs,
...
}: let
inherit (lib.marleyos) enabled disabled;
inherit (marleylib.module) enabled disabled;
cfg = config.marleyos.programs.discord;
in {
options.marleyos.programs.discord.enable = lib.mkEnableOption "discord";
imports = [
inputs.nixcord.homeModules.nixcord
];
config = lib.mkIf cfg.enable {
programs.nixcord = {
enable = true;
@ -117,7 +123,7 @@ in {
theme = themes."${scheme}" or defaultTheme;
in {
enable = true;
theme = theme;
inherit theme;
useDevIcon = "COLOR";
};

File diff suppressed because it is too large Load diff