You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
280 B
Plaintext
15 lines
280 B
Plaintext
6 months ago
|
const HOMENIX = "~/.config/home-manager/home.nix"
|
||
|
|
||
|
export def apply [] {
|
||
|
let homechksum = shasum ~/.config/home-manager/home.nix
|
||
|
silo apply
|
||
|
|
||
|
if (shasum ~/.config/home-manager/home.nix) != $homechksum {
|
||
|
silo apply
|
||
|
}
|
||
|
}
|
||
|
|
||
|
export def auto-apply [] {
|
||
|
watch . {|| apply}
|
||
|
}
|