if just -v rebuild-this-device >> .$(hostname -s)_sysupdate.log 2>&1;then
echo System update successful
else
System update failed
fi
iftype home-manager > /dev/null 2>&1;then
echo Updating home...
if home-manager -v switch > .$(hostname -s)_homeupdate.log 2>&1;then
echo Home update successful
else
echo Home update failed
fi
fi
# Sorry, this is a manual step for now. Please see nix/os/modules/encryptedDisk.nix for the layout
disk-prepare:
echo NOT IMPLEMENTED
# Mount the target disk specified by device configuration directory. The 'dir' argument points to a device configuration, e.g. 'nix/os/devices/steveej-live-mmc-SL32G_0x259093f6'
disk-mount dir:
just -v _device diskMount {{dir}}
# Unmount target disk, specified by device configuration directory
disk-umount dir:
just -v _device diskUmount {{dir}}
# Perform an offline installation on the mounted the target disk, specified by device configuration directory