feat: differentiate between core and extended pkgs
also use core packages in server system profile
This commit is contained in:
parent
9320bd758a
commit
6960c79fbd
5 changed files with 22 additions and 19 deletions
|
@ -8,7 +8,7 @@
|
|||
#./mpv.nix
|
||||
./neovim.nix
|
||||
./obs-studio.nix
|
||||
./packages.nix
|
||||
./packages
|
||||
./programs.nix
|
||||
./virt.nix
|
||||
];
|
||||
|
|
13
modules/software/packages/core.nix
Normal file
13
modules/software/packages/core.nix
Normal file
|
@ -0,0 +1,13 @@
|
|||
{pkgs, ...}: {
|
||||
environment.systemPackages = with pkgs; [
|
||||
file
|
||||
git
|
||||
htop
|
||||
ncdu
|
||||
p7zip
|
||||
ripgrep
|
||||
tmux
|
||||
unzip
|
||||
wget
|
||||
];
|
||||
}
|
6
modules/software/packages/default.nix
Normal file
6
modules/software/packages/default.nix
Normal file
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
imports = [
|
||||
./core.nix
|
||||
./extended.nix
|
||||
];
|
||||
}
|
|
@ -16,7 +16,6 @@
|
|||
|
||||
unstable.neovim
|
||||
|
||||
git
|
||||
gitui
|
||||
lazygit
|
||||
|
||||
|
@ -31,21 +30,13 @@
|
|||
rustc
|
||||
|
||||
# tooling
|
||||
htop
|
||||
btop
|
||||
ncdu
|
||||
wget
|
||||
unstable.yt-dlp
|
||||
miniserve
|
||||
file
|
||||
unzip
|
||||
tmux
|
||||
fzf
|
||||
ripgrep
|
||||
qemu
|
||||
home-manager
|
||||
dfc
|
||||
p7zip
|
||||
sops
|
||||
|
||||
# move to homemanager?
|
|
@ -1,18 +1,11 @@
|
|||
{
|
||||
imports = let
|
||||
packages = {pkgs, ...}: {
|
||||
environment.systemPackages = with pkgs; [
|
||||
tmux
|
||||
wget
|
||||
];
|
||||
};
|
||||
in [
|
||||
imports = [
|
||||
./defaults.nix
|
||||
./mini.nix
|
||||
|
||||
../modules/customisation.nix
|
||||
../modules/software/neovim.nix
|
||||
../modules/software/packages/core.nix
|
||||
|
||||
packages
|
||||
];
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue