summaryrefslogtreecommitdiff
path: root/nixos/parts/dev.nix
blob: 0d258b4725808bd374be56bce82b8529874d14d4 (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
35
36
{ 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

    (writeShellScriptBin "deploy-dir" (builtins.readFile ./scripts/deploy-dir))

    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;
  };
}