NixOS configuration for HPC cluster
https://docs.hpc.informatik.hs-fulda.de/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
51 lines
729 B
51 lines
729 B
{ pkgs, lib, ... }:
|
|
|
|
with lib;
|
|
|
|
let
|
|
userenv = pkgs.buildFHSUserEnv {
|
|
name = "userenv";
|
|
targetPkgs = pkgs: with pkgs; [
|
|
git
|
|
postgresql
|
|
postgresql.lib
|
|
papi
|
|
gcc
|
|
gdb
|
|
gnumake
|
|
valgrind
|
|
autoconf
|
|
automake
|
|
perl
|
|
zlib
|
|
python3
|
|
libtool
|
|
flex
|
|
pandoc
|
|
hwloc
|
|
munge
|
|
numactl
|
|
libbfd
|
|
libiberty
|
|
pkgconfig
|
|
ucx
|
|
openmpi
|
|
vim
|
|
nano
|
|
wget
|
|
curl
|
|
tmux
|
|
fd
|
|
ripgrep
|
|
bash
|
|
];
|
|
};
|
|
in
|
|
{
|
|
environment.systemPackages = [ userenv ];
|
|
|
|
# Install userenv to a well-known path
|
|
system.systemBuilderCommands = ''
|
|
ln -s ${userenv}/bin/userenv $out/userenv
|
|
'';
|
|
}
|