feat: deprecate some tools to keep only mise

This commit is contained in:
2025-06-24 00:26:01 +02:00
parent 6462e4ce57
commit 10015173f9
6 changed files with 4 additions and 2 deletions

15
optional.d/nix.bash Normal file
View File

@ -0,0 +1,15 @@
#!/bin/bash
# Install nix (with the nix-installer tool from DeterminateSystems)
# (See https://github.com/DeterminateSystems/nix-installer)
if ( ! command -v nix &> /dev/null ); then
curl --proto '=https' --tlsv1.2 -sSf -L https://install.determinate.systems/nix | sh -s -- install
fi
# Install home-manager
if (command -v nix-channel && command -v nix-shell &> /dev/null ); then
nix-channel --add https://github.com/nix-community/home-manager/archive/release-24.05.tar.gz home-manager
nix-channel --update
nix-shell '<home-manager>' -A install
fi