fish: adjust functions due to deprecation warnings

This commit is contained in:
Christoph Hollizeck 2025-06-20 21:58:01 +02:00
parent e71564cfad
commit ab1bcd27bd
Signed by: Daholli
GPG key ID: 249300664F2AF2C7

View file

@ -44,8 +44,8 @@ in
};
functions = {
checkHash = "nix hash to-sri --type sha256 $(nix-prefetch-url --unpack $argv)";
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";
deployNixberry = "nixos-rebuild switch --flake .#nixberry --target-host nixberry --sudo --ask-sudo-password";
deployLoptland = "nixos-rebuild switch --flake .#loptland --target-host christophhollizeck.dev --sudo --ask-sudo-password";
checkPR = "cd nixpkgs && ${lib.getExe pkgs.nixpkgs-review} pr $argv --post-result --approve";
};
plugins = with pkgs.fishPlugins; [