update readme
This commit is contained in:
parent
96fa4e6854
commit
abe1adba49
2 changed files with 7 additions and 6 deletions
|
@ -17,7 +17,10 @@
|
|||
{
|
||||
apps.deploy = {
|
||||
type = "app";
|
||||
program = "${selfPkgs.deploy}/bin/deploy";
|
||||
program = toString (pkgs.writeScript "deploy" ''
|
||||
#!${pkgs.runtimeShell}
|
||||
nixos-rebuild switch --upgrade --flake ".#$1" --target-host "$1.dadada.li" --build-host localhost --use-remote-sudo
|
||||
'');
|
||||
};
|
||||
apps.hm-switch = {
|
||||
type = "app";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue