all repos — nixfiles @ 8d6985d2323bd3f792769f88102ca992ac15d65e

System and user configuration, managed by nix and home-manager

Remove non-flake install script

Alan Pearce
commit

8d6985d2323bd3f792769f88102ca992ac15d65e

parent

8c56a91570ec8fe9839378851878f578968e5dfb

1 file changed, 0 insertions(+), 34 deletions(-)

jump to
D user/install.sh
@@ -1,34 +0,0 @@
-#!/bin/sh - -set -eu - -if [ -z "$1" ] -then - echo "Usage: $0 <machine-file.nix>" - exit 1 -fi - -NIXDIR="$HOME/.config/nixpkgs" - -if [ ! -f "$1" ] -then - echo "$1 does not exist" - exit 1 -fi - -if [ -d "$NIXDIR" ] -then - echo "$NIXDIR already exists as a directory!" - ls -l "$NIXDIR" - exit -fi - -if [ -f "$NIXDIR" ] -then - echo "$NIXDIR already exists as a file" - ls -l "$NIXDIR" - exit -fi - -ln -s $PWD $NIXDIR -ln -s $1 home.nix