modular home packages

This commit is contained in:
Ivan Dimitrov 2023-11-21 17:16:55 +02:00
parent d7e2abf4e1
commit 9902ed38bc
5 changed files with 55 additions and 48 deletions

View File

@ -1,12 +1,16 @@
{ system, pkgs, home-manager, modules, ... }: { system, pkgs, home-manager, modules, ... }:
with modules.home; let
ivand-programs = with modules.home.programs; [ nvim zsh tmux git chromium kitty lf obs-studio sway swaylock browserpass ];
ivand-packages = with modules.home.packages; [ dev essential media ];
vid-programs = with modules.home.programs; [ nvim zsh tmux ];
in
{ {
ivand = home-manager.lib.homeManagerConfiguration { ivand = home-manager.lib.homeManagerConfiguration {
inherit pkgs; inherit pkgs;
modules = with programs; [ ./ivand packages nvim zsh tmux git chromium kitty lf obs-studio sway swaylock browserpass ]; modules = [ ./ivand ] ++ ivand-programs ++ ivand-packages;
}; };
vid = home-manager.lib.homeManagerConfiguration { vid = home-manager.lib.homeManagerConfiguration {
inherit pkgs; inherit pkgs;
modules = with programs; [ ./vid nvim zsh tmux ]; modules = [ ./vid ] ++ vid-programs;
}; };
} }

View File

@ -1,47 +1,5 @@
{ pkgs, ... }: { { pkgs, ... }: {
home.packages = with pkgs; [ dev = import ./dev { inherit pkgs; };
scripts essential = import ./essential { inherit pkgs; };
# wayland/sway stuff media = import ./media { inherit pkgs; };
bemenu
wl-clipboard
wayland
xwayland
mako
grim
slurp
# programs
brave
firefox-devedition-bin
tor-browser-bundle-bin
libreoffice-qt
gimp
mpv
imv
gnome.cheese
pavucontrol
fluent-reader
libsForQt5.kdenlive
glaxnimate
# cli utils
ripgrep
bat
bottom
procs
lolcat
shell_gpt
mupdf
gopass
transmission
yewtube
ffmpeg
# AI
ollama
# misc
piper
xdg-utils
xdg-user-dirs
woeusb
# games
minetest
];
} }

View File

@ -0,0 +1,9 @@
{ pkgs, ... }: {
home.packages = with pkgs; [
tor-browser-bundle-bin
firefox-devedition-bin
shell_gpt
woeusb
ollama
];
}

View File

@ -0,0 +1,24 @@
{ pkgs, ... }: {
home.packages = with pkgs; [
scripts
bemenu
wl-clipboard
wayland
xwayland
mako
grim
slurp
brave
mpv
imv
ripgrep
bat
bottom
procs
mupdf
gopass
ffmpeg
xdg-utils
xdg-user-dirs
];
}

View File

@ -0,0 +1,12 @@
{ pkgs, ... }: {
home.packages = with pkgs; [
gimp
gnome.cheese
pavucontrol
fluent-reader
libsForQt5.kdenlive
glaxnimate
transmission
yewtube
];
}