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 ]; commonModules = [ ./modules/nvim ];
personalModules = [ ./modules/sound.nix ]; personalModules = [ ./modules/sound.nix ];
serverModules = [ serverModules = [ ./modules/server.nix ];
./modules/minpkgs.nix builders = [ ./modules/x86builder.nix ];
./modules/minzsh.nix
];
builders = [
./modules/x86builder.nix
];
in in
{ {
flake.nixosConfigurations = { 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 = { programs = {
zsh = { zsh = {
enable = true; enable = true;