feat: add radicle
Radicle is a peer-to-peer git forge, which just released 1.0. It would
be nice to try it out!
Change-Id: I6c27a018abc5e630613bf76a73d53be258b99f53
Reviewed-on: https://git.clicks.codes/c/Chimera/NixFiles/+/829
Reviewed-by: Samuel Shuert <coded@clicks.codes>
Tested-by: Skyler Grey <minion@clicks.codes>
diff --git a/modules/home/git/default.nix b/modules/home/git/default.nix
index ecbb140..1e30166 100644
--- a/modules/home/git/default.nix
+++ b/modules/home/git/default.nix
@@ -12,6 +12,7 @@
delta.enable = lib.mkEnableOption "Enable delta, an alternative pager for git diffs that highlights syntax";
stgit.enable = lib.mkEnableOption "Install StGit, a tool that makes working with stacked patches easier";
jj.enable = lib.mkEnableOption "Install jj, a git-compatible VCS, allowing powerful features, performance and stability improvements ontop of git";
+ radicle.enable = lib.mkEnableOption "Install Radicle, a peer-to-peer git forge";
auth = {
clicksUsername = lib.mkOption {
type = lib.types.str;
@@ -104,7 +105,8 @@
home.packages =
(if config.chimera.git.gitReview.enable then [ pkgs.git-review ] else [ ])
++ (if config.chimera.git.stgit.enable then [ pkgs.stgit ] else [ ])
- ++ (if config.chimera.git.jj.enable then [ inputs.jujutsu.packages.${system}.jujutsu ] else [ ]);
+ ++ (if config.chimera.git.jj.enable then [ inputs.jujutsu.packages.${system}.jujutsu ] else [ ])
+ ++ (if config.chimera.git.radicle.enable then [ pkgs.radicle-node ] else [ ]);
programs.zsh.shellAliases =
if config.chimera.git.gitReview.enable then { "gr!" = "git review"; } else { };
diff --git a/modules/home/users/minion/default.nix b/modules/home/users/minion/default.nix
index 5260535..ac2fa0a 100644
--- a/modules/home/users/minion/default.nix
+++ b/modules/home/users/minion/default.nix
@@ -48,6 +48,7 @@
delta.enable = true;
stgit.enable = true;
jj.enable = true;
+ radicle.enable = true;
gitReview.enable = true;
auth.clicksUsername = "minion";
gpg.enable = true;