nixos-config/shells/tap.nix
Charlotte Van Petegem a2dc92cade
Add orgzly shell
2023-05-15 18:43:37 +02:00

29 lines
645 B
Nix

{ pkgs, inputs, ... }: pkgs.devshell.mkShell {
name = "Tap";
imports = [ "${inputs.devshell}/extra/language/ruby.nix" ];
commands = [
{
name = "refresh-deps";
category = "general commands";
help = "Install dependencies";
command = ''
yarn install
bundle install
bundle pristine
'';
}
];
packages = with pkgs; [
imagemagick
nodejs
yarn
];
serviceGroups.server.services.rails = {
name = "server";
command = "rails s -p 3000";
};
language.ruby = {
package = pkgs.ruby_3_0;
nativeDeps = [ pkgs.sqlite pkgs.libmysqlclient pkgs.zlib ];
};
}