feat(home): Bundle i3 dependancies

This commit is contained in:
punkfairie 2024-11-18 20:37:50 -08:00
parent 60b871bce0
commit a5bbca6c24
Signed by: punkfairie
GPG key ID: A509E8F77FB9D696
2 changed files with 23 additions and 6 deletions

View file

@ -54,8 +54,6 @@ in
neo = enabled; neo = enabled;
rbw = enabled; rbw = enabled;
ripgrep = enabled; ripgrep = enabled;
# TODO: is this xorg only? bundle under xorg if so
rofi = enabled;
ssh = enabled; ssh = enabled;
starship = enabled; starship = enabled;
systemctl = enabled; systemctl = enabled;
@ -67,14 +65,11 @@ in
}; };
services = { services = {
clipboard = enabled; clipboard = enabled;
# TODO: bundle this under xorg
dunst = enabled;
# TODO: bundle this with xorg
polybar = enabled;
syncthing = enabled; syncthing = enabled;
}; };
xorg = { xorg = {
xsession = enabled; xsession = enabled;
i3 = enabled;
}; };
}; };

View file

@ -0,0 +1,22 @@
{
lib,
config,
...
}:
let
inherit (lib) mkEnableOption mkIf;
inherit (lib.marleyos) enabled;
cfg = config.marleyos.xorg.i3;
in
{
options.marleyos.xorg.i3.enable = mkEnableOption "i3";
config = mkIf cfg.enable {
marleyos = {
programs.rofi = enabled;
services.polybar = enabled;
services.dunst = enabled;
};
};
}