Add project commands
parent
9c99fe69a1
commit
bf305de91e
@ -0,0 +1,14 @@
|
||||
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}
|
||||
}
|
Loading…
Reference in New Issue