infra/shell.nix

59 lines
1 KiB
Nix
Raw Normal View History

2023-02-07 18:24:28 +01:00
{...}: let
2022-01-15 20:34:30 +01:00
pkgsPath = (import ./nix/sources.nix).nixpkgs;
2022-10-31 11:04:38 +01:00
pkgs =
2023-02-07 18:24:28 +01:00
import pkgsPath {overlays = builtins.attrValues (import ./nix/overlays);};
in
pkgs.stdenv.mkDerivation {
name = "infra-env";
buildInputs =
[
(with import (pkgsPath + "/nixos") {configuration = {};};
with config.system.build; [
nixos-generate-config
nixos-install
nixos-enter
manual.manpages
])
]
++ (with pkgs; [
just
git-crypt
vcsh
gnupg
git
nixUnstable
niv
nixos-install-tools
apacheHttpd
vncdo
tesseract
imagemagick
esh
xorg.xwininfo
nmap
sysstat
lshw
xxHash
linssid
wavemon
wirelesstools
lm_sensors
zathura
ripgrep
glxinfo
nixfmt
ntfy
playerctl
]);
# Set Environment Variables
RUST_BACKTRACE = 1;
}