Add script skip for NixOS

This commit is contained in:
aloslider
2026-04-21 02:35:50 +03:00
parent 598ad93af7
commit e70c3138ce
4 changed files with 16 additions and 0 deletions
@@ -1,4 +1,8 @@
#!/bin/bash #!/bin/bash
{{ if -eq .chezmoi.osRelease.id "nixos" }}
exit 0
{{ end }}
set -euo pipefail set -euo pipefail
ZSH_PATH="$(which zsh)" ZSH_PATH="$(which zsh)"
@@ -1,4 +1,8 @@
#!/bin/bash #!/bin/bash
{{ if -eq .chezmoi.osRelease.id "nixos" }}
exit 0
{{ end }}
set -euo pipefail set -euo pipefail
SRC_DIR="${HOME}/apps/neovim" SRC_DIR="${HOME}/apps/neovim"
@@ -1,4 +1,8 @@
#!/bin/bash #!/bin/bash
{{ if -eq .chezmoi.osRelease.id "nixos" }}
exit 0
{{ end }}
set -euo pipefail set -euo pipefail
KEY_DIR="$HOME/.config/chezmoi" KEY_DIR="$HOME/.config/chezmoi"
@@ -1,4 +1,8 @@
#!/bin/bash #!/bin/bash
{{ if -eq .chezmoi.osRelease.id "nixos" }}
exit 0
{{ end }}
set -euo pipefail set -euo pipefail
echo "Installing and updating packages..." echo "Installing and updating packages..."