feat: discord
This commit is contained in:
parent
b176aa7368
commit
49f1f933d0
5 changed files with 11 additions and 1520 deletions
|
@ -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"];
|
||||
};
|
||||
|
|
|
@ -50,6 +50,7 @@ in {
|
|||
cava = enabled;
|
||||
CEmu = enabled;
|
||||
cheat = enabled;
|
||||
discord = enabled;
|
||||
fzf = enabled;
|
||||
gh = enabled;
|
||||
glow = enabled;
|
||||
|
|
|
@ -9,6 +9,7 @@
|
|||
./CEmu.nix
|
||||
./cheat.nix
|
||||
./curl.nix
|
||||
./discord.nix
|
||||
./eza.nix
|
||||
./figlet.nix
|
||||
./fish.nix
|
||||
|
|
|
@ -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
Loading…
Reference in a new issue