hosts/modules: combine minzsh and minpkgs into server.nix
Signed-off-by: Amneesh Singh <natto@weirdnatto.in>
This commit is contained in:
		@@ -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 = {
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -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
 | 
					 | 
				
			||||||
  ];
 | 
					 | 
				
			||||||
}
 | 
					 | 
				
			||||||
@@ -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;
 | 
				
			||||||
		Reference in New Issue
	
	Block a user