modular home packages
This commit is contained in:
parent
d7e2abf4e1
commit
9902ed38bc
@ -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;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -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
|
|
||||||
];
|
|
||||||
}
|
}
|
||||||
|
9
modules/home/packages/dev/default.nix
Normal file
9
modules/home/packages/dev/default.nix
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
{ pkgs, ... }: {
|
||||||
|
home.packages = with pkgs; [
|
||||||
|
tor-browser-bundle-bin
|
||||||
|
firefox-devedition-bin
|
||||||
|
shell_gpt
|
||||||
|
woeusb
|
||||||
|
ollama
|
||||||
|
];
|
||||||
|
}
|
24
modules/home/packages/essential/default.nix
Normal file
24
modules/home/packages/essential/default.nix
Normal 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
|
||||||
|
];
|
||||||
|
}
|
12
modules/home/packages/media/default.nix
Normal file
12
modules/home/packages/media/default.nix
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
{ pkgs, ... }: {
|
||||||
|
home.packages = with pkgs; [
|
||||||
|
gimp
|
||||||
|
gnome.cheese
|
||||||
|
pavucontrol
|
||||||
|
fluent-reader
|
||||||
|
libsForQt5.kdenlive
|
||||||
|
glaxnimate
|
||||||
|
transmission
|
||||||
|
yewtube
|
||||||
|
];
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user