nixos/hosts/dev/modules/dev-tools.nix

53 lines
841 B
Nix

{ pkgs, ... }:
{
nixpkgs.overlays = [
(import ../utils/overlays/packages.nix)
];
environment.systemPackages = with pkgs; [
# Development tools
ddev
docker-compose
git
git-lfs
mkcert
screen
# PHP
php
# Node.js
nodejs_22
# AI coding
claude-code
# Utilities
jq
unzip
vim
wget
curl
htop
];
# Persistent SSH sessions with tmux
programs.tmux = {
enable = true;
clock24 = true;
historyLimit = 50000;
terminal = "screen-256color";
extraConfig = ''
# Enable mouse support
set -g mouse on
# Start windows and panes at 1, not 0
set -g base-index 1
setw -g pane-base-index 1
'';
};
# Docker for ddev
virtualisation.docker.enable = true;
users.users.dominik.extraGroups = [ "docker" ];
}