Added Mullvad and Firmware Updater

This commit is contained in:
naturallaw77 2023-12-09 11:09:00 -08:00
parent c053f04375
commit 9273ddd79b
2 changed files with 44 additions and 0 deletions

View File

@ -0,0 +1,41 @@
#!/usr/bin/env bash
curl "https://git.sovransystems.com/Sovran_Systems/Software/raw/branch/main/Sovran_SystemsOS_Updater/Updater%20Source%20Files/Intro.md" |
zenity --text-info \
--width=1000 \
--height=700 \
--title="Sovran_SystemsOS Updater"
if [[ $? -eq 1 ]]; then
exit 1
else
cd /home/free/Downloads
wget "https://git.sovransystems.com/Sovran_Systems/Software/raw/branch/main/Sovran_SystemsOS_Updater/Updater%20Source%20Files/Update_Sovran_SystemsOS_Helper.sh"
if ! ssh root@localhost 'bash /home/free/Downloads/Update_Sovran_SystemsOS_Helper.sh | zenity --progress --no-cancel --pulsate --auto-close --width=500 --title="Sovran_SystemsOS_Reseter" --text="Please Wait. Passwords Are Being Reset. This May Take Some Time..."' ; then
zenity --error \
--title="Sovran_SystemsOS Updater" \
--text="Could Not Log In"
exit 1
fi
rm -rf /home/free/Downloads/Master_Passwords_Reset_Root.sh
zenity --info \
--ellipsize \
--no-wrap \
--width=400 \
--title="Sovran_SystemsOS Updater" \
--text="Yay Complete! Please Reboot When You Are Ready."
exit 0

View File

@ -15,6 +15,8 @@
boot.loader.efi.canTouchEfiVariables = true; boot.loader.efi.canTouchEfiVariables = true;
boot.kernelPackages = pkgs.linuxPackages_latest; boot.kernelPackages = pkgs.linuxPackages_latest;
services.fwupd.enable = true;
nix = { nix = {
package = pkgs.nixUnstable; package = pkgs.nixUnstable;
extraOptions = '' extraOptions = ''
@ -129,6 +131,7 @@
nixpkgs.config.permittedInsecurePackages = [ nixpkgs.config.permittedInsecurePackages = [
]; ];
services.mullvad-vpn.enable = true;
programs.bash.promptInit = "fish"; programs.bash.promptInit = "fish";
programs.fish = { programs.fish = {