nh: init and remove makeshift fish function

This commit is contained in:
Christoph Hollizeck 2025-06-13 11:57:39 +02:00
parent c49d449516
commit 50150710e9
Signed by: Daholli
GPG key ID: 249300664F2AF2C7
4 changed files with 35 additions and 2 deletions

View file

@ -44,7 +44,6 @@ in
};
functions = {
checkHash = "nix hash to-sri --type sha256 $(nix-prefetch-url --unpack $argv)";
buildandDeployYggdrasil = "nom build '.#nixosConfigurations.yggdrasil.config.system.build.toplevel' && sudo nixos-rebuild switch --flake .#yggdrasil";
deployNixberry = "nixos-rebuild switch --flake .#nixberry --target-host nixberry --use-remote-sudo --fast";
deployLoptland = "nixos-rebuild switch --flake .#loptland --target-host christophhollizeck.dev --use-remote-sudo --fast";
checkPR = "cd nixpkgs && ${lib.getExe pkgs.nixpkgs-review} pr $argv --post-result --approve";