Add script skip for NixOS
This commit is contained in:
Executable → Regular
+4
@@ -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"
|
||||||
|
|||||||
+4
@@ -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..."
|
||||||
|
|||||||
Reference in New Issue
Block a user