mirror of https://github.com/materusPL/Nixerus.git
materusPC: valkyrie rebuild scripts
This commit is contained in:
parent
7e3954506d
commit
51472e812a
|
@ -11,10 +11,21 @@ ${pkgs.openssh}/bin/ssh materus@valkyrie "nix flake update /materus/config/Nixer
|
||||||
--override-input private /materus/config/valkyrie/flake"
|
--override-input private /materus/config/valkyrie/flake"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
valkyrie-rebuild-boot = pkgs.writeShellScriptBin "valkyrie-rebuild-boot" ''
|
||||||
|
${pkgs.openssh}/bin/ssh -t materus@valkyrie "sudo nixos-rebuild boot --flake /materus/config/Nixerus#valkyrie \
|
||||||
|
--override-input private /materus/config/valkyrie/flake"
|
||||||
|
'';
|
||||||
|
valkyrie-rebuild-switch = pkgs.writeShellScriptBin "valkyrie-rebuild-switch" ''
|
||||||
|
${pkgs.openssh}/bin/ssh -t materus@valkyrie "sudo nixos-rebuild switch --flake /materus/config/Nixerus#valkyrie \
|
||||||
|
--override-input private /materus/config/valkyrie/flake"
|
||||||
|
'';
|
||||||
|
|
||||||
|
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
environment.systemPackages = [
|
environment.systemPackages = [
|
||||||
|
valkyrie-rebuild-boot
|
||||||
|
valkyrie-rebuild-switch
|
||||||
valkyrie-sync
|
valkyrie-sync
|
||||||
valkyrie-flakelock
|
valkyrie-flakelock
|
||||||
];
|
];
|
||||||
|
|
Loading…
Reference in New Issue