feat(home): Categorize programs; create bundles
|
@ -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";
|
||||
|
|
|
@ -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 = {
|
||||
|
|
33
modules/home/bundles/desktop/default.nix
Normal 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;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
29
modules/home/bundles/mac/default.nix
Normal 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;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
43
modules/home/programs/cli/default.nix
Normal 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;
|
||||
};
|
||||
};
|
||||
}
|
23
modules/home/programs/gui/default.nix
Normal 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;
|
||||
};
|
||||
};
|
||||
}
|
Before Width: | Height: | Size: 726 B After Width: | Height: | Size: 726 B |
Before Width: | Height: | Size: 729 B After Width: | Height: | Size: 729 B |
Before Width: | Height: | Size: 477 B After Width: | Height: | Size: 477 B |
Before Width: | Height: | Size: 720 B After Width: | Height: | Size: 720 B |
Before Width: | Height: | Size: 708 B After Width: | Height: | Size: 708 B |
Before Width: | Height: | Size: 477 B After Width: | Height: | Size: 477 B |
Before Width: | Height: | Size: 726 B After Width: | Height: | Size: 726 B |
Before Width: | Height: | Size: 475 B After Width: | Height: | Size: 475 B |
Before Width: | Height: | Size: 475 B After Width: | Height: | Size: 475 B |
Before Width: | Height: | Size: 740 B After Width: | Height: | Size: 740 B |
Before Width: | Height: | Size: 154 B After Width: | Height: | Size: 154 B |
Before Width: | Height: | Size: 155 B After Width: | Height: | Size: 155 B |
Before Width: | Height: | Size: 153 B After Width: | Height: | Size: 153 B |
Before Width: | Height: | Size: 156 B After Width: | Height: | Size: 156 B |
Before Width: | Height: | Size: 159 B After Width: | Height: | Size: 159 B |
Before Width: | Height: | Size: 155 B After Width: | Height: | Size: 155 B |
Before Width: | Height: | Size: 153 B After Width: | Height: | Size: 153 B |
Before Width: | Height: | Size: 152 B After Width: | Height: | Size: 152 B |
Before Width: | Height: | Size: 166 B After Width: | Height: | Size: 166 B |
Before Width: | Height: | Size: 158 B After Width: | Height: | Size: 158 B |
Before Width: | Height: | Size: 157 B After Width: | Height: | Size: 157 B |
Before Width: | Height: | Size: 206 B After Width: | Height: | Size: 206 B |
Before Width: | Height: | Size: 159 B After Width: | Height: | Size: 159 B |
Before Width: | Height: | Size: 157 B After Width: | Height: | Size: 157 B |
Before Width: | Height: | Size: 157 B After Width: | Height: | Size: 157 B |
Before Width: | Height: | Size: 157 B After Width: | Height: | Size: 157 B |
Before Width: | Height: | Size: 157 B After Width: | Height: | Size: 157 B |
Before Width: | Height: | Size: 155 B After Width: | Height: | Size: 155 B |
Before Width: | Height: | Size: 157 B After Width: | Height: | Size: 157 B |
Before Width: | Height: | Size: 450 B After Width: | Height: | Size: 450 B |
Before Width: | Height: | Size: 589 B After Width: | Height: | Size: 589 B |
Before Width: | Height: | Size: 443 B After Width: | Height: | Size: 443 B |
Before Width: | Height: | Size: 444 B After Width: | Height: | Size: 444 B |
Before Width: | Height: | Size: 464 B After Width: | Height: | Size: 464 B |
Before Width: | Height: | Size: 478 B After Width: | Height: | Size: 478 B |
Before Width: | Height: | Size: 458 B After Width: | Height: | Size: 458 B |
Before Width: | Height: | Size: 474 B After Width: | Height: | Size: 474 B |
Before Width: | Height: | Size: 543 B After Width: | Height: | Size: 543 B |
Before Width: | Height: | Size: 503 B After Width: | Height: | Size: 503 B |
Before Width: | Height: | Size: 490 B After Width: | Height: | Size: 490 B |
Before Width: | Height: | Size: 478 B After Width: | Height: | Size: 478 B |
Before Width: | Height: | Size: 459 B After Width: | Height: | Size: 459 B |
Before Width: | Height: | Size: 457 B After Width: | Height: | Size: 457 B |
Before Width: | Height: | Size: 457 B After Width: | Height: | Size: 457 B |
Before Width: | Height: | Size: 479 B After Width: | Height: | Size: 479 B |
Before Width: | Height: | Size: 477 B After Width: | Height: | Size: 477 B |
Before Width: | Height: | Size: 523 B After Width: | Height: | Size: 523 B |
Before Width: | Height: | Size: 451 B After Width: | Height: | Size: 451 B |
Before Width: | Height: | Size: 452 B After Width: | Height: | Size: 452 B |
Before Width: | Height: | Size: 459 B After Width: | Height: | Size: 459 B |
Before Width: | Height: | Size: 458 B After Width: | Height: | Size: 458 B |
Before Width: | Height: | Size: 459 B After Width: | Height: | Size: 459 B |
Before Width: | Height: | Size: 460 B After Width: | Height: | Size: 460 B |
Before Width: | Height: | Size: 440 B After Width: | Height: | Size: 440 B |
Before Width: | Height: | Size: 444 B After Width: | Height: | Size: 444 B |
Before Width: | Height: | Size: 436 B After Width: | Height: | Size: 436 B |
Before Width: | Height: | Size: 429 B After Width: | Height: | Size: 429 B |