Files
nixos-setup/bin/lib/types.nu
T
2026-09-03 23:18:08 -04:00

20 lines
412 B
Nu

const REPO_ROOT = path self | path dirname | path dirname | path dirname
export def hm-actions [] {
["switch", "build"]
}
export def remote-cmds [] {
["test", "dry-activate", "run", "switch", "build", "boot"]
}
export def image-targets [] {
["iso", "pi1", "pi2"]
}
export def secret-names [] {
cd $REPO_ROOT
glob secrets/*.age | each { |f| $f | path basename | str replace ".age" "" }
}