summaryrefslogtreecommitdiff
path: root/nixos/parts/dev.nix
blob: aca8e78313eda609dcb7bfe4915579ea2b3b0c9c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
{ config, pkgs, ... }:

{
  environment.sessionVariables = {
    # Tell .zshrc to source zshrc-dev.sh.
    MYNIX_DEV = "true";
  };

  environment.systemPackages = with pkgs; [
    rustup
    python313
    nodejs_22

    # CLI tools
    docker-compose
    gnumake
    jq
    just
    sqlite-interactive
    tokei

    gcc # rustc fails if cc linker isn't found
    chromium

    vscodium
    # I'm installing extensions via my install-imperative script.
  ];

  virtualisation.podman = {
    enable = true;
    dockerSocket.enable = true;
  };
}