hosts/modules: combine minzsh and minpkgs into server.nix

Signed-off-by: Amneesh Singh <natto@weirdnatto.in>
This commit is contained in:
2023-01-23 20:48:59 +05:30
parent 7ed47be803
commit b3fac02b73
3 changed files with 14 additions and 24 deletions

View File

@@ -4,13 +4,8 @@ let
commonModules = [ ./modules/nvim ];
personalModules = [ ./modules/sound.nix ];
serverModules = [
./modules/minpkgs.nix
./modules/minzsh.nix
];
builders = [
./modules/x86builder.nix
];
serverModules = [ ./modules/server.nix ];
builders = [ ./modules/x86builder.nix ];
in
{
flake.nixosConfigurations = {

View File

@@ -1,16 +0,0 @@
{ config, pkgs, ... }:
{
environment.systemPackages = with pkgs; [
git
htop
vim
wireguard-tools
vault
tree-sitter
rnix-lsp
nmap
gcc
fly
postgresql #for the client cli
];
}

View File

@@ -1,5 +1,16 @@
{ config, ... }:
{ config, pkgs, ... }:
{
environment.systemPackages = with pkgs; [
git
htop
vim
wireguard-tools
rnix-lsp
nmap
gcc
postgresql #for the client cli
];
programs = {
zsh = {
enable = true;