Skip to content

Commit

Permalink
Update PART-B-WITH-SUDO.sh
Browse files Browse the repository at this point in the history
code rewrite
  • Loading branch information
tolgaerok authored Aug 29, 2023
1 parent ea2bf10 commit ecb3d92
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion SETUP/PART-B-WITH-SUDO.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
# Tolga Erok
# 14/7/2023
# Post Nixos setup
# ¯\_(ツ)_/¯

# -----------------------------------------------------------------------------------
# Check if Script is Run as Root
Expand Down Expand Up @@ -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

Expand All @@ -246,12 +248,24 @@ 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:
Tolga Erok.
(ツ)_/¯
Time taken: $time_taken
" -u normal

# Test alittle
wps
et
shotwell
Fish
vscode
sublime4
vlc


exit 1

0 comments on commit ecb3d92

Please sign in to comment.