From 1f7610974ed8bcd98a4c646039aad538d19b54a6 Mon Sep 17 00:00:00 2001 From: Linnnus Date: Sat, 16 Nov 2024 12:36:47 +0100 Subject: home: Add shell-utils module I also moved pbv and trash from hosts/muhammed/home/dev-utils into the new module, since they aren't really development related; I would still want them on a Darwin system that *wasn't* being used for development. --- hosts/muhammed/home/dev-utils/default.nix | 71 ++++++++++++++----------------- 1 file changed, 32 insertions(+), 39 deletions(-) (limited to 'hosts/muhammed/home/dev-utils/default.nix') diff --git a/hosts/muhammed/home/dev-utils/default.nix b/hosts/muhammed/home/dev-utils/default.nix index 26bb40d..ac63f3d 100644 --- a/hosts/muhammed/home/dev-utils/default.nix +++ b/hosts/muhammed/home/dev-utils/default.nix @@ -4,49 +4,42 @@ lib, ... }: { - home.packages = with pkgs; - [ - # smol utils - nodePackages_latest.nodemon - rlwrap - jc - jq + home.packages = with pkgs; [ + # smol utils + nodePackages_latest.nodemon + rlwrap - # heavy hitters - imagemagick - ffmpeg_6-full + # heavy hitters + imagemagick + ffmpeg_6-full - # interpreaters - cling - unstable.deno - (python311Full.withPackages (ps: - with ps; [ - virtualenv - tkinter - ])) - tcl-8_6 - crystal - nim - guile - vemf - unstable.gleam - cscript - erlang_nox # Required by Gleam - rebar3 # Required by Gleam - unstable.nodejs_latest + # interpreaters + cling + unstable.deno + (python311Full.withPackages (ps: + with ps; [ + virtualenv + tkinter + ])) + tcl-8_6 + crystal + nim + guile + vemf + unstable.gleam + cscript + erlang_nox # Required by Gleam + rebar3 # Required by Gleam + unstable.nodejs_latest - # Rust ecosystem - rustc - cargo + # Rust ecosystem + rustc + cargo - # Clojure ecosystem - clojure - leiningen - ] - ++ lib.optionals pkgs.stdenv.isDarwin [ - pbv - trash - ]; + # Clojure ecosystem + clojure + leiningen + ]; # Add system manual pages to the search path on Darwin. home.sessionVariables.MANPATH = lib.optionalString pkgs.stdenv.isDarwin "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/share/man:/Applications/Xcode.app/Contents/Developer/usr/share/man:/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/share/man:$MANPATH"; -- cgit v1.2.3