nixos-configuration/modules/development.nix
2025-01-06 18:25:52 +01:00

40 lines
633 B
Nix

{ pkgs, ... }:
{
environment.systemPackages = with pkgs; [
# IDEs
jetbrains.rust-rover
jetbrains.webstorm
vscodium # TODO set up extensions
zed-editor
# Tools
git
rustup
nodejs
pnpm
gcc # Required for C, Rust and others
# Language servers
nixd
nil
# Formatters
nixfmt-rfc-style
treefmt
nodePackages.prettier
shfmt
];
virtualisation.docker = {
enable = true;
storageDriver = "btrfs";
rootless = {
enable = true;
setSocketVariable = true;
};
};
services.ollama = {
enable = true;
acceleration = "cuda";
};
}