Compare commits
No commits in common. "292a4c4d4664ca25662b37d92806da37178fffd2" and "07b92b5df32688137daee5f1e5406909a5d39efa" have entirely different histories.
292a4c4d46
...
07b92b5df3
@ -1,6 +1,5 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
ssh_command=${SSH_COMMAND-ssh}
|
|
||||||
target_host=$1
|
target_host=$1
|
||||||
shift
|
shift
|
||||||
|
|
||||||
@ -11,5 +10,5 @@ fi
|
|||||||
|
|
||||||
toplevel=$(nix-build "$@" -A outputs.systemConfiguration --no-out-link)
|
toplevel=$(nix-build "$@" -A outputs.systemConfiguration --no-out-link)
|
||||||
min-copy-closure $target_host $toplevel
|
min-copy-closure $target_host $toplevel
|
||||||
$ssh_command $target_host cp -v -fP $toplevel/bin/* /persist
|
ssh $target_host cp -P $toplevel/bin/\* /
|
||||||
$ssh_command $target_host "sync; reboot"
|
ssh $target_host reboot
|
||||||
|
@ -13,7 +13,6 @@ let
|
|||||||
in {
|
in {
|
||||||
imports = [
|
imports = [
|
||||||
../../vanilla-configuration.nix
|
../../vanilla-configuration.nix
|
||||||
../../modules/jffs2.nix
|
|
||||||
];
|
];
|
||||||
config = {
|
config = {
|
||||||
services.sshd = longrun {
|
services.sshd = longrun {
|
||||||
|
@ -4,7 +4,7 @@ let
|
|||||||
inherit (pkgs.liminix.services) oneshot longrun bundle target;
|
inherit (pkgs.liminix.services) oneshot longrun bundle target;
|
||||||
in rec {
|
in rec {
|
||||||
imports = [
|
imports = [
|
||||||
./modules/tftpboot.nix
|
./modules/standard.nix
|
||||||
./modules/wlan.nix
|
./modules/wlan.nix
|
||||||
];
|
];
|
||||||
services.loopback = config.hardware.networkInterfaces.lo;
|
services.loopback = config.hardware.networkInterfaces.lo;
|
||||||
|
Loading…
Reference in New Issue
Block a user