mirror of
https://forge.katzen.cafe/schrottkatze/nix-configs.git
synced 2024-11-25 14:28:44 +01:00
idk i should be doing this cleanierr
This commit is contained in:
parent
a5a462fc31
commit
3afc3d11db
|
@ -19,12 +19,12 @@
|
||||||
pulseaudioFull
|
pulseaudioFull
|
||||||
easyeffects
|
easyeffects
|
||||||
cava
|
cava
|
||||||
volumeicon
|
pa_applet
|
||||||
playerctl
|
playerctl
|
||||||
];
|
];
|
||||||
xsession.windowManager.i3.config.startup = [
|
xsession.windowManager.i3.config.startup = [
|
||||||
{
|
{
|
||||||
command = "pkill volumeicon; volumeicon";
|
command = "pkill pa_applet; pa_applet";
|
||||||
always = true;
|
always = true;
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
|
@ -51,6 +51,7 @@ in with lib; {
|
||||||
./polybar.nix
|
./polybar.nix
|
||||||
./social.nix
|
./social.nix
|
||||||
./xkeysnail.nix
|
./xkeysnail.nix
|
||||||
|
./mail.nix
|
||||||
]).content;
|
]).content;
|
||||||
options.jade.desktop = {
|
options.jade.desktop = {
|
||||||
enable = mkEnableOption "Enable the i3 setup";
|
enable = mkEnableOption "Enable the i3 setup";
|
||||||
|
|
18
modules/desktop/mail.nix
Normal file
18
modules/desktop/mail.nix
Normal file
|
@ -0,0 +1,18 @@
|
||||||
|
{ config, lib, pkgs, ... }:
|
||||||
|
|
||||||
|
let cfg = config.jade.desktop.mail;
|
||||||
|
in with lib; {
|
||||||
|
options.jade.desktop.mail = {
|
||||||
|
enable = mkEnableOption "Enable thunderbird mail stuff";
|
||||||
|
};
|
||||||
|
config = mkIf cfg.enable {
|
||||||
|
home-manager.users.jade = { pkgs, ... }: {
|
||||||
|
programs.thunderbird = {
|
||||||
|
enable = true;
|
||||||
|
profiles.jade = {
|
||||||
|
isDefault = true;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
|
@ -38,6 +38,7 @@
|
||||||
kdeconnect.enable = true;
|
kdeconnect.enable = true;
|
||||||
cloud.enable = true;
|
cloud.enable = true;
|
||||||
social.enable = true;
|
social.enable = true;
|
||||||
|
mail.enable = true;
|
||||||
};
|
};
|
||||||
terminal.enable = true;
|
terminal.enable = true;
|
||||||
neovim.enable = true;
|
neovim.enable = true;
|
||||||
|
|
Loading…
Reference in a new issue