From 9d2684facef7d872712d7fc740039dfcbd2ba32e Mon Sep 17 00:00:00 2001 From: Marc Coquand Date: Sun, 30 Jun 2024 17:21:04 -0500 Subject: Remove void hooks --- hooks/pre-up/2-nix | 10 ---------- hooks/pre-up/3-void | 10 ---------- hooks/pre-up/4-mbsync | 2 -- 3 files changed, 22 deletions(-) delete mode 100755 hooks/pre-up/2-nix delete mode 100755 hooks/pre-up/3-void delete mode 100755 hooks/pre-up/4-mbsync (limited to 'hooks/pre-up') diff --git a/hooks/pre-up/2-nix b/hooks/pre-up/2-nix deleted file mode 100755 index 19ba279..0000000 --- a/hooks/pre-up/2-nix +++ /dev/null @@ -1,10 +0,0 @@ -#!/bin/sh - -if ! [ -x "$(command -v nix)" ]; then - echo "Installing Nix" - doas install -d -m755 -o $(id -u) -g $(id -g) /nix - doas xbps-install -y xz - curl -L https://nixos.org/nix/install | sh - echo "Nix has been installed, you should run nix profile install nixpkgs#nix-direnv once profile has been refreshed" -fi - diff --git a/hooks/pre-up/3-void b/hooks/pre-up/3-void deleted file mode 100755 index f2523f4..0000000 --- a/hooks/pre-up/3-void +++ /dev/null @@ -1,10 +0,0 @@ -#!/bin/sh - -# We'll use xpkg from xtools to find installable packages -if ! [ -x "$(command -v xpkg)" ]; then - doas xbps-install -y xtools -fi - -if [ ! "$(cat ~/repository.list | grep 'void-repo-nonfree')" ]; then - doas xbps-install -y void-repo-nonfree -fi diff --git a/hooks/pre-up/4-mbsync b/hooks/pre-up/4-mbsync deleted file mode 100755 index b49b258..0000000 --- a/hooks/pre-up/4-mbsync +++ /dev/null @@ -1,2 +0,0 @@ -#!/bin/sh -mkdir -p ~/mail-home -- cgit v1.2.3