From 24ceb47775de7799b1211820b3a97aab0a147e6b Mon Sep 17 00:00:00 2001 From: caem Date: Mon, 20 Jan 2025 00:56:45 +0100 Subject: [PATCH] shell no longer needed --- install.sh | 9 --------- shell.nix | 12 ------------ 2 files changed, 21 deletions(-) delete mode 100644 shell.nix diff --git a/install.sh b/install.sh index 8034d0c..6d08f63 100755 --- a/install.sh +++ b/install.sh @@ -158,16 +158,7 @@ reboot_on_consent() { fi } -ensure_shell() { - if [ -z "$IN_NIX_SHELL" ]; then - echo "Restarting script in nix-shell environment." - exec nix-shell shell.nix --run "bash $0 $*" - fi -} - main () { - ensure_shell "$@" - args "$@" permissions diff --git a/shell.nix b/shell.nix deleted file mode 100644 index c328308..0000000 --- a/shell.nix +++ /dev/null @@ -1,12 +0,0 @@ -{ pkgs ? import {} }: - -pkgs.mkShell { - buildInputs = with pkgs; [ - age - ]; - - shellHook = '' - alias nix="nix --experimental-features 'nix-command flakes'" - ''; -} -