fish: adjust deploy commands
This commit is contained in:
parent
b3aa2bc9ca
commit
0647ff2d7a
1 changed files with 8 additions and 3 deletions
|
|
@ -24,7 +24,12 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
homeManager.base =
|
homeManager.base =
|
||||||
{ lib, pkgs, ... }:
|
{
|
||||||
|
lib,
|
||||||
|
osConfig,
|
||||||
|
pkgs,
|
||||||
|
...
|
||||||
|
}:
|
||||||
{
|
{
|
||||||
catppuccin.fish.enable = true;
|
catppuccin.fish.enable = true;
|
||||||
|
|
||||||
|
|
@ -50,8 +55,8 @@
|
||||||
};
|
};
|
||||||
functions = {
|
functions = {
|
||||||
checkHash = "nix hash to-sri --type sha256 $(nix-prefetch-url --unpack $argv)";
|
checkHash = "nix hash to-sri --type sha256 $(nix-prefetch-url --unpack $argv)";
|
||||||
deployNixberry = "nixos-rebuild switch --flake .#nixberry --target-host nixberry --sudo --ask-sudo-password";
|
deployNixberry = "${lib.getExe osConfig.programs.nh.package} os switch --target-host nixberry -H nixberry";
|
||||||
deployLoptland = "nixos-rebuild switch --flake .#loptland --target-host christophhollizeck.dev --sudo --ask-sudo-password";
|
deployLoptland = "${lib.getExe osConfig.programs.nh.package} os switch --target-host christophhollizeck.dev -H loptland";
|
||||||
checkPR = ''cd /home/cholli/projects/NixOS/nixpkgs && ${lib.getExe pkgs.nixpkgs-review} pr $argv --post-result --systems "x86_64-linux aarch64-linux"'';
|
checkPR = ''cd /home/cholli/projects/NixOS/nixpkgs && ${lib.getExe pkgs.nixpkgs-review} pr $argv --post-result --systems "x86_64-linux aarch64-linux"'';
|
||||||
};
|
};
|
||||||
plugins = with pkgs.fishPlugins; [
|
plugins = with pkgs.fishPlugins; [
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue