feat(home): Categorize programs; create bundles

This commit is contained in:
punkfairie 2025-01-29 20:46:54 -08:00
parent 4f1f9c85e2
commit 69e101209b
Signed by: punkfairie
GPG key ID: B3C5488E9A1A7CA6
132 changed files with 171 additions and 93 deletions

View file

@ -1,46 +1,8 @@
{
lib,
...
}:
let
{lib, ...}: let
inherit (lib.marleyos) enabled;
in
{
in {
marleyos = {
isDesktop = true;
programs = {
amfora = enabled;
bat = enabled;
btop = enabled;
cheat = enabled;
curl = enabled;
eza = enabled;
figlet = enabled;
fish = enabled;
fzf = enabled;
gh = enabled;
git = enabled;
glow = enabled;
gpg = enabled;
hyfetch = enabled;
just = enabled;
lazygit = enabled;
less = enabled;
man = enabled;
neo = enabled;
neovim = enabled;
nh = enabled;
rbw = enabled;
ripgrep = enabled;
ssh = enabled;
starship = enabled;
tea = enabled;
tmux = enabled;
wezterm = enabled;
wget = enabled;
zoxide = enabled;
};
bundles.mac = enabled;
};
home.stateVersion = "24.05";

View file

@ -2,58 +2,8 @@
inherit (lib.marleyos) enabled;
in {
marleyos = {
isDesktop = true;
bundles.desktop = enabled;
appearance = {
base = enabled;
gtk = enabled;
qt = enabled;
};
# TODO: Seperate out into graphical/shell/tui?
programs = {
amfora = enabled;
bat = enabled;
btop = enabled;
calibre = enabled;
cava = enabled;
cheat = enabled;
curl = enabled;
eza = enabled;
figlet = enabled;
fish = enabled;
floorp = enabled;
fzf = enabled;
gh = enabled;
git = enabled;
glow = enabled;
gpg = enabled;
hyfetch = enabled;
journalctl = enabled;
just = enabled;
lazygit = enabled;
less = enabled;
man = enabled;
ncmpcpp = enabled;
neo = enabled;
neovim = enabled;
nh = enabled;
pidgin = enabled;
rbw = enabled;
ripgrep = enabled;
ssh = enabled;
starship = enabled;
systemctl = enabled;
tmux = enabled;
vesktop = enabled;
wezterm = enabled;
wget = enabled;
zathura = enabled;
zoxide = enabled;
};
services = {
# clipboard = enabled;
# syncthing = enabled;
};
wayland.hyprland = {
enable = true;
monitors = {

View file

@ -0,0 +1,33 @@
{
lib,
config,
...
}: let
cfg = config.marleyos.bundles.desktop;
inherit (lib.marleyos) enabled;
in {
options.marleyos.bundles.desktop.enable = lib.mkEnableOption "desktop";
config = lib.mkIf cfg.enable {
marleyos = {
isDesktop = true;
appearance = {
base = enabled;
gtk = enabled;
qt = enabled;
};
programs = {
cli = enabled;
tui = enabled;
gui = enabled;
};
services = {
# syncthing = enabled;
};
};
};
}

View file

@ -0,0 +1,29 @@
{
lib,
config,
...
}: let
cfg = config.marleyos.bundles.mac;
inherit (lib.marleyos) enabled disabled;
in {
options.marleyos.bundles.mac.enable = lib.mkEnableOption "mac";
config = lib.mkIf cfg.enable {
marleyos = {
isDesktop = true;
programs = {
cli = enabled;
journalctl = disabled;
systemctl = disabled;
tui = enabled;
cava = disabled;
ncmpcpp = disabled;
wezterm = enabled;
};
};
};
}

View file

@ -0,0 +1,43 @@
{
lib,
config,
...
}: let
cfg = config.marleyos.programs.cli;
inherit (lib.marleyos) enabled;
in {
options.marleyos.programs.cli.enable = lib.mkEnableOption "cli";
config = lib.mkIf cfg.enable {
marleyos.programs = {
bat = enabled;
cheat = enabled;
curl = enabled;
eza = enabled;
figlet = enabled;
fish = enabled;
fzf = enabled;
gh = enabled;
git = enabled;
glow = enabled;
gpg = enabled;
hyfetch = enabled;
journalctl = enabled;
just = enabled;
less = enabled;
man = enabled;
neo = enabled;
nh = enabled;
rbw = enabled;
ripgrep = enabled;
ssh = enabled;
starship = enabled;
systemctl = enabled;
tea = enabled;
tmux = enabled;
wget = enabled;
zoxide = enabled;
};
};
}

View file

@ -0,0 +1,23 @@
{
lib,
config,
...
}: let
cfg = config.marleyos.programs.gui;
inherit (lib.marleyos) enabled;
in {
options.marleyos.programs.gui.enable = lib.mkEnableOption "gui";
config = lib.mkIf cfg.enable {
marleyos.programs = {
calibre = enabled;
floorp = enabled;
pidgin = enabled;
rofi = enabled;
vesktop = enabled;
wezterm = enabled;
zathura = enabled;
};
};
}

View file

Before

Width:  |  Height:  |  Size: 154 B

After

Width:  |  Height:  |  Size: 154 B

View file

Before

Width:  |  Height:  |  Size: 155 B

After

Width:  |  Height:  |  Size: 155 B

View file

Before

Width:  |  Height:  |  Size: 153 B

After

Width:  |  Height:  |  Size: 153 B

View file

Before

Width:  |  Height:  |  Size: 156 B

After

Width:  |  Height:  |  Size: 156 B

View file

Before

Width:  |  Height:  |  Size: 159 B

After

Width:  |  Height:  |  Size: 159 B

View file

Before

Width:  |  Height:  |  Size: 155 B

After

Width:  |  Height:  |  Size: 155 B

View file

Before

Width:  |  Height:  |  Size: 153 B

After

Width:  |  Height:  |  Size: 153 B

View file

Before

Width:  |  Height:  |  Size: 152 B

After

Width:  |  Height:  |  Size: 152 B

View file

Before

Width:  |  Height:  |  Size: 166 B

After

Width:  |  Height:  |  Size: 166 B

View file

Before

Width:  |  Height:  |  Size: 158 B

After

Width:  |  Height:  |  Size: 158 B

View file

Before

Width:  |  Height:  |  Size: 157 B

After

Width:  |  Height:  |  Size: 157 B

View file

Before

Width:  |  Height:  |  Size: 206 B

After

Width:  |  Height:  |  Size: 206 B

View file

Before

Width:  |  Height:  |  Size: 159 B

After

Width:  |  Height:  |  Size: 159 B

View file

Before

Width:  |  Height:  |  Size: 157 B

After

Width:  |  Height:  |  Size: 157 B

View file

Before

Width:  |  Height:  |  Size: 157 B

After

Width:  |  Height:  |  Size: 157 B

View file

Before

Width:  |  Height:  |  Size: 157 B

After

Width:  |  Height:  |  Size: 157 B

View file

Before

Width:  |  Height:  |  Size: 157 B

After

Width:  |  Height:  |  Size: 157 B

View file

Before

Width:  |  Height:  |  Size: 155 B

After

Width:  |  Height:  |  Size: 155 B

View file

Before

Width:  |  Height:  |  Size: 157 B

After

Width:  |  Height:  |  Size: 157 B

View file

Before

Width:  |  Height:  |  Size: 450 B

After

Width:  |  Height:  |  Size: 450 B

View file

Before

Width:  |  Height:  |  Size: 589 B

After

Width:  |  Height:  |  Size: 589 B

View file

Before

Width:  |  Height:  |  Size: 443 B

After

Width:  |  Height:  |  Size: 443 B

View file

Before

Width:  |  Height:  |  Size: 444 B

After

Width:  |  Height:  |  Size: 444 B

View file

Before

Width:  |  Height:  |  Size: 464 B

After

Width:  |  Height:  |  Size: 464 B

View file

Before

Width:  |  Height:  |  Size: 478 B

After

Width:  |  Height:  |  Size: 478 B

View file

Before

Width:  |  Height:  |  Size: 458 B

After

Width:  |  Height:  |  Size: 458 B

View file

Before

Width:  |  Height:  |  Size: 474 B

After

Width:  |  Height:  |  Size: 474 B

View file

Before

Width:  |  Height:  |  Size: 543 B

After

Width:  |  Height:  |  Size: 543 B

View file

Before

Width:  |  Height:  |  Size: 503 B

After

Width:  |  Height:  |  Size: 503 B

View file

Before

Width:  |  Height:  |  Size: 490 B

After

Width:  |  Height:  |  Size: 490 B

View file

Before

Width:  |  Height:  |  Size: 478 B

After

Width:  |  Height:  |  Size: 478 B

View file

Before

Width:  |  Height:  |  Size: 459 B

After

Width:  |  Height:  |  Size: 459 B

View file

Before

Width:  |  Height:  |  Size: 457 B

After

Width:  |  Height:  |  Size: 457 B

View file

Before

Width:  |  Height:  |  Size: 457 B

After

Width:  |  Height:  |  Size: 457 B

View file

Before

Width:  |  Height:  |  Size: 479 B

After

Width:  |  Height:  |  Size: 479 B

View file

Before

Width:  |  Height:  |  Size: 477 B

After

Width:  |  Height:  |  Size: 477 B

View file

Before

Width:  |  Height:  |  Size: 523 B

After

Width:  |  Height:  |  Size: 523 B

View file

Before

Width:  |  Height:  |  Size: 451 B

After

Width:  |  Height:  |  Size: 451 B

View file

Before

Width:  |  Height:  |  Size: 452 B

After

Width:  |  Height:  |  Size: 452 B

View file

Before

Width:  |  Height:  |  Size: 459 B

After

Width:  |  Height:  |  Size: 459 B

View file

Before

Width:  |  Height:  |  Size: 458 B

After

Width:  |  Height:  |  Size: 458 B

View file

Before

Width:  |  Height:  |  Size: 459 B

After

Width:  |  Height:  |  Size: 459 B

View file

Before

Width:  |  Height:  |  Size: 460 B

After

Width:  |  Height:  |  Size: 460 B

View file

Before

Width:  |  Height:  |  Size: 440 B

After

Width:  |  Height:  |  Size: 440 B

View file

Before

Width:  |  Height:  |  Size: 444 B

After

Width:  |  Height:  |  Size: 444 B

View file

Before

Width:  |  Height:  |  Size: 436 B

After

Width:  |  Height:  |  Size: 436 B

View file

Before

Width:  |  Height:  |  Size: 429 B

After

Width:  |  Height:  |  Size: 429 B

Some files were not shown because too many files have changed in this diff Show more