From 83a12f648611609e6a8f4d69d2e5187798e578a0 Mon Sep 17 00:00:00 2001 From: Emmet Date: Sun, 25 Feb 2024 12:31:46 -0600 Subject: [PATCH] Another test via git --- install.sh | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/install.sh b/install.sh index 1c38197..9e0efb1 100644 --- a/install.sh +++ b/install.sh @@ -2,12 +2,14 @@ # Automated script to install my dotfiles -nix-shell -p git --command "git clone https://gitlab.com/librephoenix/nixos-config ~/.dotfiles" -sudo nixos-generate-config --show-hardware-config > ~/.dotfiles/system/hardware-configuration.nix -if [ -z "$EDITOR" ]; then - EDITOR=nano; -fi -$EDITOR ~/.dotfiles/flake.nix; -sudo nixos-rebuild switch --flake ~/.dotfiles#system; -nix run home-manager/master -- switch --flake ~/.dotfiles#user; -sudo ~/.dotfiles/harden.sh; +echo "echo works" + +# nix-shell -p git --command "git clone https://gitlab.com/librephoenix/nixos-config ~/.dotfiles" +# sudo nixos-generate-config --show-hardware-config > ~/.dotfiles/system/hardware-configuration.nix +# if [ -z "$EDITOR" ]; then +# EDITOR=nano; +# fi +# $EDITOR ~/.dotfiles/flake.nix; +# sudo nixos-rebuild switch --flake ~/.dotfiles#system; +# nix run home-manager/master -- switch --flake ~/.dotfiles#user; +# sudo ~/.dotfiles/harden.sh;