More polybar changes and added discord

This commit is contained in:
marc
2022-11-07 19:40:18 +01:00
parent 5f41530745
commit 4577adc53f
9 changed files with 33 additions and 5 deletions

View File

@@ -3,6 +3,7 @@
{
imports = [
./alacritty.nix
./discord.nix
./spotify.nix
];
}

View File

@@ -0,0 +1,17 @@
{ config, lib, pkgs, ... }:
with lib;
let
cfg = config.samfelag.modules.app.discord;
in
{
options.samfelag.modules.app.discord = {
enable = mkEnableOption "discord";
};
config = mkIf cfg.enable {
home.packages = with pkgs; [
discord
];
};
}