mrflos-nixos-config-fork/modules/local-dev.nix

66 lines
1.2 KiB
Nix
Raw Normal View History

2023-04-14 20:51:52 +00:00
# Local developpement
2024-01-23 19:52:57 +00:00
{ pkgs, config, lib, ... }: {
2024-05-30 10:16:42 +00:00
homebrew.enable = true;
homebrew.brews = [
# `brew install`
#"imagemagick"
2023-04-14 20:51:52 +00:00
2024-05-30 10:16:42 +00:00
# `brew install`, always `brew services restart`, `brew link`, `brew unlink mysql` (if it is installed)
{
name = "mariadb";
2024-08-19 14:41:19 +00:00
#restart_service = true;
2024-05-30 10:16:42 +00:00
link = true;
conflicts_with = [ "mysql" ];
}
];
2024-01-23 19:52:57 +00:00
2023-04-14 20:51:52 +00:00
# List packages installed in system profile. To search, run:
# $ nix search wget
2024-07-28 10:40:28 +00:00
environment.systemPackages = with pkgs;
let
php83 = pkgs.php83.buildEnv { extraConfig = ''
2024-05-30 10:16:42 +00:00
memory_limit = 2G
max_upload_size = 2G
''; };
2024-07-28 10:40:28 +00:00
in [
dart-sass
2024-05-30 10:16:42 +00:00
cmake
dart-sass
docker-compose
2024-05-30 10:16:42 +00:00
fd
fzf
2023-11-03 08:09:19 +00:00
gcc
2024-02-03 04:39:56 +00:00
go
2024-07-03 07:46:47 +00:00
nixfmt-rfc-style
2024-08-19 14:41:19 +00:00
lua
2024-05-30 10:16:42 +00:00
lua-language-server
2024-08-19 14:41:19 +00:00
luarocks
nixpkgs-fmt
nodejs
2024-05-21 12:57:21 +00:00
nodePackages.eslint
nodePackages.prettier
php83
php83Packages.composer
php83Packages.php-cs-fixer
python3
2023-11-03 08:09:19 +00:00
python311Packages.virtualenv
2024-05-30 10:16:42 +00:00
ripgrep
rust-analyzer-unwrapped
ruff-lsp
2024-05-21 12:57:21 +00:00
stylelint
symfony-cli
2024-07-03 07:46:47 +00:00
tree-sitter
2023-04-14 20:51:52 +00:00
virt-manager
yarn
2023-11-03 08:09:19 +00:00
zig
2024-05-16 06:41:41 +00:00
# image optimizers
image_optim
nodePackages.svgo
jpegoptim
optipng
pngquant
gifsicle
libwebp
2023-04-14 20:51:52 +00:00
];
}