thaylen-city: Initial configuration

This commit is contained in:
Charlotte Van Petegem 2024-07-15 18:17:33 +02:00
parent bf7aa06f4a
commit 8cb2b204e2
5 changed files with 215 additions and 91 deletions

View file

@ -1,4 +1,4 @@
{ pkgs, ... }: pkgs.devshell.mkShell {
{ pkgs, inputs, system, ... }: pkgs.devshell.mkShell {
name = "NixOS config";
commands = [
{
@ -17,6 +17,7 @@
packages = [
pkgs.agenix
pkgs.nixos-rebuild
inputs.darwin.packages.${system}.default
pkgs.nixpkgs-fmt
];
}

45
shells/silverfin.nix Normal file
View file

@ -0,0 +1,45 @@
{ lib, pkgs, inputs, ... }:
pkgs.devshell.mkShell {
name = "Silverfin";
imports = [ "${inputs.devshell}/extra/language/ruby.nix" ];
devshell.startup = {
"link-devshell-dir".text = ''
ln -sf $DEVSHELL_DIR $PRJ_DATA_DIR/devshell
'';
};
packages = with pkgs; [
cmake
ghostscript
graphicsmagick
imagemagick6
jq
kubectl
minikube
mupdf-headless
nodejs_18
xsv
yarn
zlib
];
env = [
{
name = "LIBRARY_PATH";
eval = "$LD_LIBRARY_PATH";
}
];
language.c.compiler = lib.mkForce pkgs.clang;
language.ruby = {
package = pkgs.ruby_3_2;
nativeDeps = with pkgs; [
git
graphicsmagick
icu
imagemagick6
openssl
postgresql
libffi
libyaml
zlib
];
};
}