diff options
author | Alan Pearce | 2023-03-15 21:55:42 +0100 |
---|---|---|
committer | Alan Pearce | 2023-03-15 21:55:42 +0100 |
commit | 8d6985d2323bd3f792769f88102ca992ac15d65e (patch) | |
tree | 1b8802f8a5c9db03f37bfdd282f9c0fbe7d5d42e /user | |
parent | 8c56a91570ec8fe9839378851878f578968e5dfb (diff) | |
download | nixfiles-8d6985d2323bd3f792769f88102ca992ac15d65e.tar.lz nixfiles-8d6985d2323bd3f792769f88102ca992ac15d65e.tar.zst nixfiles-8d6985d2323bd3f792769f88102ca992ac15d65e.zip |
Remove non-flake install script
Diffstat (limited to 'user')
-rwxr-xr-x | user/install.sh | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/user/install.sh b/user/install.sh deleted file mode 100755 index e33b70ae..00000000 --- a/user/install.sh +++ /dev/null @@ -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 |