This commit is contained in:
parent
751fc153d2
commit
25c7b6bf0d
7 changed files with 28 additions and 4 deletions
19
flake.lock
generated
19
flake.lock
generated
|
@ -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"
|
||||||
}
|
}
|
||||||
|
|
|
@ -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";
|
||||||
|
|
|
@ -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
|
||||||
|
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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 = {
|
||||||
|
|
|
@ -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;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -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 { };
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue