From 1b65ba7a838e422c9bf16ddcaf796a996fa51b6b Mon Sep 17 00:00:00 2001 From: Martin Fischer Date: Fri, 27 Dec 2024 08:45:34 +0100 Subject: refactor: introduce profiles --- nixos/profiles/workstation/dev.nix | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 nixos/profiles/workstation/dev.nix (limited to 'nixos/profiles/workstation/dev.nix') diff --git a/nixos/profiles/workstation/dev.nix b/nixos/profiles/workstation/dev.nix new file mode 100644 index 0000000..1e04b4c --- /dev/null +++ b/nixos/profiles/workstation/dev.nix @@ -0,0 +1,31 @@ +{ config, pkgs, ... }: + +{ + 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; + }; +} + -- cgit v1.2.3