feat: differentiate between core and extended pkgs

also use core packages in server system profile
This commit is contained in:
Ranomier 2025-05-10 22:09:55 +02:00
parent 9320bd758a
commit 6960c79fbd
5 changed files with 22 additions and 19 deletions

View file

@ -8,7 +8,7 @@
#./mpv.nix #./mpv.nix
./neovim.nix ./neovim.nix
./obs-studio.nix ./obs-studio.nix
./packages.nix ./packages
./programs.nix ./programs.nix
./virt.nix ./virt.nix
]; ];

View file

@ -0,0 +1,13 @@
{pkgs, ...}: {
environment.systemPackages = with pkgs; [
file
git
htop
ncdu
p7zip
ripgrep
tmux
unzip
wget
];
}

View file

@ -0,0 +1,6 @@
{
imports = [
./core.nix
./extended.nix
];
}

View file

@ -16,7 +16,6 @@
unstable.neovim unstable.neovim
git
gitui gitui
lazygit lazygit
@ -31,21 +30,13 @@
rustc rustc
# tooling # tooling
htop
btop btop
ncdu
wget
unstable.yt-dlp unstable.yt-dlp
miniserve miniserve
file
unzip
tmux
fzf fzf
ripgrep
qemu qemu
home-manager home-manager
dfc dfc
p7zip
sops sops
# move to homemanager? # move to homemanager?

View file

@ -1,18 +1,11 @@
{ {
imports = let imports = [
packages = {pkgs, ...}: {
environment.systemPackages = with pkgs; [
tmux
wget
];
};
in [
./defaults.nix ./defaults.nix
./mini.nix ./mini.nix
../modules/customisation.nix ../modules/customisation.nix
../modules/software/neovim.nix ../modules/software/neovim.nix
../modules/software/packages/core.nix
packages
]; ];
} }