From e90806961aca568d97bdea897d9eef0e04c9bcde Mon Sep 17 00:00:00 2001 From: naturallaw77 Date: Thu, 10 Aug 2023 18:30:33 -0700 Subject: [PATCH] updated custom.nix script and added sovran-pro-flake-update2 --- .../Sovran_SystemsOS_File_Fixes_And_New_Services.sh | 11 ++++++++++- file_fixes_and_new_services/add-custom-nix.sh | 2 +- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/file_fixes_and_new_services/Sovran_SystemsOS_File_Fixes_And_New_Services.sh b/file_fixes_and_new_services/Sovran_SystemsOS_File_Fixes_And_New_Services.sh index 5430209..61b42cc 100644 --- a/file_fixes_and_new_services/Sovran_SystemsOS_File_Fixes_And_New_Services.sh +++ b/file_fixes_and_new_services/Sovran_SystemsOS_File_Fixes_And_New_Services.sh @@ -20,7 +20,16 @@ rm -rf /home/free/Downloads/sovran-pro-flake-update.sh /run/current-system/sw/bin/bash /home/free/Downloads/add-custom-nix.sh -rm -rf /home/free/Downloads/add-custom.nix.sh +rm -rf /home/free/Downloads/add-custom-nix.sh + + +#### SCRIPT 3 #### + +/run/current-system/sw/bin/wget "https://git.sovransystems.com/Sovran_Systems/Sovran_SystemsOS/raw/branch/main/file_fixes_and_new_services/sovran-pro-flake-update2.sh" + +/run/current-system/sw/bin/bash /home/free/Downloads/sovran-pro-flake-update2.sh + +rm -rf /home/free/Downloads/sovran-pro-flake-update2.sh #### REMOVAL OF MAIN SCRIPT #### diff --git a/file_fixes_and_new_services/add-custom-nix.sh b/file_fixes_and_new_services/add-custom-nix.sh index 0a63ce6..9744e31 100644 --- a/file_fixes_and_new_services/add-custom-nix.sh +++ b/file_fixes_and_new_services/add-custom-nix.sh @@ -34,7 +34,7 @@ FILE=/var/lib/beacons/file_fixes_and_new_services/add-custom-nix/completed #### MAIN SCRIPT #### -/run/current-system/sw/bin/mkdir /etc/nixos/custom.nix +/run/current-system/sw/bin/touch /etc/nixos/custom.nix /run/current-system/sw/bin/cat > /etc/nixos/custom.nix <<- "EOF"