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
|
#./mpv.nix
|
||||||
./neovim.nix
|
./neovim.nix
|
||||||
./obs-studio.nix
|
./obs-studio.nix
|
||||||
./packages.nix
|
./packages
|
||||||
./programs.nix
|
./programs.nix
|
||||||
./virt.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
|
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?
|
|
@ -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
|
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue