mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-04-22 08:48:29 +02:00
feat: neovim - scheme lang
This commit is contained in:
15
utils.nu
15
utils.nu
@@ -8,7 +8,20 @@ export def nixos-switch [
|
||||
nixos-rebuild switch --use-remote-sudo --flake $".#($name)" --show-trace --verbose
|
||||
} else {
|
||||
nixos-rebuild switch --use-remote-sudo --flake $".#($name)"
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
# ====================== Misc =============================
|
||||
|
||||
export def make-editable [
|
||||
path: string
|
||||
] {
|
||||
let tmpdir = (mktemp -d)
|
||||
rsync -avz --copy-links $"($path)/" $tmpdir
|
||||
rsync -avz --copy-links --chmod=D2755,F744 $"($tmpdir)/" $path
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user