From 9d284faee09454684cc9ebdcfaabe3c933893750 Mon Sep 17 00:00:00 2001 From: Sven Wilhelm Date: Tue, 12 Aug 2025 14:55:50 +0200 Subject: [PATCH] refactor: modularize development and SCM tools Extract development and SCM tools from core user packages into optional module: - Add SCM tools: git-annex, git-bug, gh, lazygit, glab - Add refnode's own tooling: ref-git-bare-clone-update - Add development utilities: cookiecutter --- users/refnode/common/optional/development.nix | 20 +++++++++++++++++++ users/refnode/default.nix | 8 +------- 2 files changed, 21 insertions(+), 7 deletions(-) create mode 100644 users/refnode/common/optional/development.nix diff --git a/users/refnode/common/optional/development.nix b/users/refnode/common/optional/development.nix new file mode 100644 index 0000000..d3cbe7a --- /dev/null +++ b/users/refnode/common/optional/development.nix @@ -0,0 +1,20 @@ +{ pkgs, ... }: + +{ + # General development and SCM tools + + home.packages = with pkgs; [ + # SCM tools + git-annex + git-bug + gh + unstable.lazygit + unstable.glab + + # refnode's own tooling + ref-git-bare-clone-update + + # Development utilities + cookiecutter + ]; +} \ No newline at end of file diff --git a/users/refnode/default.nix b/users/refnode/default.nix index b97e9fa..62a9f85 100644 --- a/users/refnode/default.nix +++ b/users/refnode/default.nix @@ -7,6 +7,7 @@ ./common/optional/mailtools.nix ./common/optional/backup.nix ./common/optional/golang.nix + ./common/optional/development.nix ]; # specify my home-manager configs @@ -33,12 +34,7 @@ ref-main ref-irc ref-pathlist - ref-git-bare-clone-update - cookiecutter qmk - git-annex - git-bug - gh gopass gopass-jsonapi zenith @@ -72,8 +68,6 @@ unstable.ripgrep unstable.awscli2 unstable.google-cloud-sdk - unstable.lazygit - unstable.glab unstable.graphviz unstable.plantuml-c4 unstable.ffmpeg_7