More polybar changes and added discord

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

No files matched your search

+1
View File
@@ -6,6 +6,7 @@
samfelag = {
modules = {
app = {
discord.enable = true;
spotify.enable = true;
};
};
+1
View File
@@ -3,6 +3,7 @@
{
imports = [
./alacritty.nix
./discord.nix
./spotify.nix
];
}
+17
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
];
};
}
-1
View File
@@ -52,7 +52,6 @@ in {
xsession.windowManager.i3 = {
enable = true;
package = pkgs.i3-gaps;
config = {
modifier = mod;