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:
clan-bot
2023-11-16 12:52:26 +00:00
3 changed files with 17 additions and 0 deletions

View File

@@ -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;

View File

@@ -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

View File

@@ -0,0 +1,10 @@
{ pkgs, ... }: {
# essential debugging tools for networked services
environment.systemPackages = [
pkgs.dnsutils
pkgs.tcpdump
pkgs.curl
pkgs.jq
pkgs.htop
];
}