feat: add repo-rs
Some checks are pending
Continuous Integration / Checks (push) Waiting to run

This commit is contained in:
Tim Schubert 2025-08-09 22:23:32 +02:00
parent 751fc153d2
commit 25c7b6bf0d
No known key found for this signature in database
7 changed files with 28 additions and 4 deletions

19
flake.lock generated
View file

@ -368,6 +368,24 @@
"type": "github" "type": "github"
} }
}, },
"repo-rs": {
"inputs": {
"nixpkgs": [
"nixpkgs"
]
},
"locked": {
"lastModified": 1754770324,
"narHash": "sha256-IfCO6+Wt4mRRMf3NMg5N3ewEX/vgtuARtk/lZcIfUpU=",
"rev": "430d988f31b2deb010d445c5beeca71bbae66d60",
"type": "tarball",
"url": "https://git.dadada.li/api/v1/repos/dadada/repo-rs/archive/430d988f31b2deb010d445c5beeca71bbae66d60.tar.gz?rev=430d988f31b2deb010d445c5beeca71bbae66d60"
},
"original": {
"type": "tarball",
"url": "https://git.dadada.li/dadada/repo-rs/archive/main.tar.gz"
}
},
"root": { "root": {
"inputs": { "inputs": {
"agenix": "agenix", "agenix": "agenix",
@ -381,6 +399,7 @@
"nixos-generators": "nixos-generators", "nixos-generators": "nixos-generators",
"nixos-hardware": "nixos-hardware", "nixos-hardware": "nixos-hardware",
"nixpkgs": "nixpkgs", "nixpkgs": "nixpkgs",
"repo-rs": "repo-rs",
"systems": "systems_2", "systems": "systems_2",
"treefmt-nix": "treefmt-nix" "treefmt-nix": "treefmt-nix"
} }

View file

@ -24,6 +24,10 @@
url = "https://git.dadada.li/dadada/dadada.li/archive/main.tar.gz"; url = "https://git.dadada.li/dadada/dadada.li/archive/main.tar.gz";
flake = false; flake = false;
}; };
repo-rs = {
url = "https://git.dadada.li/dadada/repo-rs/archive/main.tar.gz";
inputs.nixpkgs.follows = "nixpkgs";
};
agenix = { agenix = {
url = "github:ryantm/agenix"; url = "github:ryantm/agenix";
inputs.nixpkgs.follows = "nixpkgs"; inputs.nixpkgs.follows = "nixpkgs";

View file

@ -38,7 +38,7 @@ in
source ${pkgs.zsh-git-prompt}/share/zsh-git-prompt/zshrc.sh source ${pkgs.zsh-git-prompt}/share/zsh-git-prompt/zshrc.sh
source ${pkgs.fzf}/share/fzf/key-bindings.zsh source ${pkgs.fzf}/share/fzf/key-bindings.zsh
source ${pkgs.fzf}/share/fzf/completion.zsh source ${pkgs.fzf}/share/fzf/completion.zsh
eval "$(${pkgs.h}/bin/h --setup ~/src)" eval "$(repo setup --root ~/src)"
bindkey -e '^n' autosuggest-accept bindkey -e '^n' autosuggest-accept

View file

@ -45,7 +45,6 @@ with pkgs;
graphviz graphviz
grim grim
gron # make json grepable gron # make json grepable
h # Manage git repos
halloy halloy
hexyl # hex viewer hexyl # hex viewer
htop htop

View file

@ -47,6 +47,7 @@
environment.systemPackages = [ environment.systemPackages = [
# For debugging and troubleshooting Secure Boot. # For debugging and troubleshooting Secure Boot.
pkgs.sbctl pkgs.sbctl
config.dadada.pkgs.repo-rs
]; ];
hardware = { hardware = {

View file

@ -33,7 +33,7 @@
formatter = treefmtEval.config.build.wrapper; formatter = treefmtEval.config.build.wrapper;
packages = import ./pkgs { inherit pkgs; } // { packages = import ./pkgs { inherit pkgs inputs; } // {
installer-iso = inputs.self.nixosConfigurations.installer.config.system.build.isoImage; installer-iso = inputs.self.nixosConfigurations.installer.config.system.build.isoImage;
}; };
} }

View file

@ -1,4 +1,5 @@
{ pkgs }: { pkgs, inputs }:
{ {
citizen-cups = pkgs.callPackage ./citizen-cups.nix { }; citizen-cups = pkgs.callPackage ./citizen-cups.nix { };
repo-rs = pkgs.callPackage inputs.repo-rs { };
} }