mirror of
https://github.com/XNM1/linux-nixos-hyprland-config-dotfiles.git
synced 2025-09-15 09:45:58 +03:00
📦 feat(git): add radicle
package
- add `radicle` package - add `radicle-tui` package - create fish alias for `rad-tui` - add radicle config template `radicle.nix` - add `.gitconfig.radicle` to `.gitconfig` - create directory for radicle projects with its `.gitconfig.radicle`
This commit is contained in:
@@ -3,6 +3,7 @@ if status is-interactive
|
||||
end
|
||||
|
||||
alias cl="clear"
|
||||
alias rad="rad-tui"
|
||||
alias lgit="lazygit"
|
||||
alias ldocker="lazydocker"
|
||||
alias conf="z ~/.config"
|
||||
|
@@ -7,6 +7,9 @@
|
||||
[includeIf "gitdir:~/work/"]
|
||||
path = ~/work/.gitconfig.work
|
||||
|
||||
[includeIf "gitdir:~/radicle-local-hub/"]
|
||||
path = ~/radicle-local-hub/.gitconfig.radicle
|
||||
|
||||
[core]
|
||||
excludesfile = ~/.gitignore
|
||||
pager = delta
|
||||
|
7
home/radicle-local-hub/.gitconfig.radicle
Normal file
7
home/radicle-local-hub/.gitconfig.radicle
Normal file
@@ -0,0 +1,7 @@
|
||||
[user]
|
||||
email = artem.shv@proton.me
|
||||
name = xnm
|
||||
signingkey = ~/.radicle/keys/radicle.pub
|
||||
|
||||
[core]
|
||||
sshCommand = "ssh -i ~/.radicle/keys/radicle"
|
@@ -5,6 +5,7 @@
|
||||
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
|
||||
rust-overlay.url = "github:oxalica/rust-overlay";
|
||||
wezterm.url = "github:wez/wezterm?dir=nix";
|
||||
radicle-tui.url = "git+https://seed.radicle.xyz/z39mP9rQAaGmERfUMPULfPUi473tY.git";
|
||||
};
|
||||
|
||||
outputs = { nixpkgs, ... } @ inputs:
|
||||
@@ -56,6 +57,7 @@
|
||||
./programming-languages.nix
|
||||
./lsp.nix
|
||||
./rust.nix
|
||||
./radicle.nix
|
||||
./wasm.nix
|
||||
./info-fetchers.nix
|
||||
./utils.nix
|
||||
|
13
nixos/radicle.nix
Normal file
13
nixos/radicle.nix
Normal file
@@ -0,0 +1,13 @@
|
||||
{ inputs, pkgs, ... }:
|
||||
|
||||
{
|
||||
services.radicle = {
|
||||
enable = false;
|
||||
checkConfig = false;
|
||||
};
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
inputs.radicle-tui.packages.${pkgs.system}.default
|
||||
radicle-node
|
||||
];
|
||||
}
|
Reference in New Issue
Block a user