cleaner cli + pkg update

This commit is contained in:
ari committed 2026-10-15 17:04:05 -04:00
1 parent 58e0705aca
commit 6fbdcf44cf
19 files changed
+590 -424

No files matched your search

+22
View File
@@ -0,0 +1,22 @@
use types.nu *
use profile.nu *
use helpers.nu *
# Build local os
export def "skyg os" [
cmd: string@os-actions,
--build-host: string@remote_targets = "",
] {
cd $REPO_ROOT
mut runcmd = $"nh os ($cmd)"
if $build_host != "" {
$runcmd = $"($runcmd) --build-host ($build_host).lab.internal"
}
$runcmd | print
bash -c $runcmd
}
# rollback configuration
export def "skyg os rollback" [] {
sudo nixos-rebuild switch --rollback
}