Merge pull request 'clanCore: install essential tools for debugging + flake nixpkgs registry pin' (#523) from Mic92-sops-nix into main
This commit is contained in:
@@ -43,6 +43,12 @@ let
|
|||||||
clanCore.machineName = name;
|
clanCore.machineName = name;
|
||||||
clanCore.clanDir = directory;
|
clanCore.clanDir = directory;
|
||||||
nixpkgs.hostPlatform = lib.mkForce system;
|
nixpkgs.hostPlatform = lib.mkForce system;
|
||||||
|
|
||||||
|
# speeds up nix commands by using the nixpkgs from the host system (especially useful in VMs)
|
||||||
|
nix.registry.nixpkgs.to = {
|
||||||
|
type = "path";
|
||||||
|
path = lib.mkDefault nixpkgs;
|
||||||
|
};
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
inherit specialArgs;
|
inherit specialArgs;
|
||||||
|
|||||||
@@ -6,6 +6,7 @@
|
|||||||
./zerotier
|
./zerotier
|
||||||
./meshnamed
|
./meshnamed
|
||||||
./networking.nix
|
./networking.nix
|
||||||
|
./packages.nix
|
||||||
inputs.sops-nix.nixosModules.sops
|
inputs.sops-nix.nixosModules.sops
|
||||||
# just some example options. Can be removed later
|
# just some example options. Can be removed later
|
||||||
./vm.nix
|
./vm.nix
|
||||||
|
|||||||
10
nixosModules/clanCore/packages.nix
Normal file
10
nixosModules/clanCore/packages.nix
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
{ pkgs, ... }: {
|
||||||
|
# essential debugging tools for networked services
|
||||||
|
environment.systemPackages = [
|
||||||
|
pkgs.dnsutils
|
||||||
|
pkgs.tcpdump
|
||||||
|
pkgs.curl
|
||||||
|
pkgs.jq
|
||||||
|
pkgs.htop
|
||||||
|
];
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user