From ecb3d92be5ead2ae04b3a6c06241e9a3b8d966f8 Mon Sep 17 00:00:00 2001 From: Tolga Erok <110285959+tolgaerok@users.noreply.github.com> Date: Tue, 29 Aug 2023 14:01:22 +0800 Subject: [PATCH] Update PART-B-WITH-SUDO.sh code rewrite --- SETUP/PART-B-WITH-SUDO.sh | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/SETUP/PART-B-WITH-SUDO.sh b/SETUP/PART-B-WITH-SUDO.sh index 9d66b880..e1ec278a 100755 --- a/SETUP/PART-B-WITH-SUDO.sh +++ b/SETUP/PART-B-WITH-SUDO.sh @@ -3,6 +3,7 @@ # Tolga Erok # 14/7/2023 # Post Nixos setup +# ¯\_(ツ)_/¯ # ----------------------------------------------------------------------------------- # Check if Script is Run as Root @@ -225,6 +226,7 @@ export NIXPKGS_ALLOW_INSECURE=1 # Rebuild system sudo nix-channel --update +nix-env -u '*' sudo nixos-rebuild switch sudo nix-store --optimise @@ -246,7 +248,8 @@ rm WPS-FONTS.zip.* cd $HOME && make-executable my-nix && mylist && neofetch -cd /etc/nixos && make-executable +cd /etc/nixos +make-executable notify-send --icon=ktimetracker --app-name="DONE" "Basic setup for: $SUDO_USER" "Completed: @@ -254,4 +257,15 @@ Tolga Erok. (ツ)_/¯ Time taken: $time_taken " -u normal + +# Test alittle +wps +et +shotwell +Fish +vscode +sublime4 +vlc + + exit 1