Commit graph

976 commits

Author SHA1 Message Date
Manuel Thalmann 60a93c723c Allow displaying a boot message 2024-08-09 02:59:06 +02:00
Manuel Thalmann 728839c213 Disable users by default 2024-08-09 02:58:01 +02:00
Manuel Thalmann 32784742c6 Add a stage for configuring users 2024-08-09 02:27:24 +02:00
Manuel Thalmann e5e35772a0 Detect installation properly 2024-08-09 02:24:59 +02:00
Manuel Thalmann 5cf212a1b9 Remove unnecessary icon 2024-08-09 02:23:56 +02:00
Manuel Thalmann 06a4c6ba3f Add support for the sudo command 2024-08-09 02:22:45 +02:00
Manuel Thalmann 2c3e904e47 Fix renaming user 2024-08-09 02:20:27 +02:00
Manuel Thalmann 846953303f Make specifying PWSH_PATH optional 2024-08-09 02:12:27 +02:00
Manuel Thalmann e9519c1bb0 Show error properly 2024-08-09 02:00:18 +02:00
Manuel Thalmann c4a1787d8a Fix typo 2024-08-09 01:53:59 +02:00
Manuel Thalmann ac95ba1736 Remove code duplication 2024-08-09 01:33:04 +02:00
Manuel Thalmann f63a658f03 Remove unnecessary console output 2024-08-09 01:22:51 +02:00
Manuel Thalmann 776f45aeff Fix incorrect file paths 2024-08-09 00:17:05 +02:00
Manuel Thalmann 0ab6fcffcb Fix incorrect hardware name 2024-08-09 00:03:45 +02:00
Manuel Thalmann 7e474aa684 Reorder installation steps 2024-08-08 23:03:10 +02:00
Manuel Thalmann da3376c462 Refactor the wsl installation check 2024-08-08 22:21:49 +02:00
Manuel Thalmann 53e1cf80f1 Ensure WSL Ubuntu is installed 2024-08-08 22:08:13 +02:00
Manuel Thalmann 95a3492b5e Leave groups unspecified 2024-08-08 17:50:32 +02:00
Manuel Thalmann 440d7bb904 Add users during installation 2024-08-08 17:49:43 +02:00
Manuel Thalmann 6038288f9b Install Oh My Posh system wide 2024-08-08 14:23:15 +02:00
Manuel Thalmann 05a456f5f6 Fix typo 2024-08-08 14:22:22 +02:00
Manuel Thalmann 7f19a74b39 Fix incorrect file paths 2024-08-08 14:21:55 +02:00
Manuel Thalmann 304c8a037e Configure NVS after installation 2024-08-08 14:09:20 +02:00
Manuel Thalmann e18644a6d4 Refactor app association script 2024-08-08 14:09:07 +02:00
Manuel Thalmann f69df3721b Fix typo 2024-08-08 14:08:48 +02:00
Manuel Thalmann 60aeeba127 Move PinnedItem script to proper location 2024-08-08 14:04:51 +02:00
Manuel Thalmann 0855e11087 Add notes to installation script 2024-08-08 14:03:15 +02:00
Manuel Thalmann 87266af942 Add a script for installing LGHub 2024-08-08 13:25:21 +02:00
Manuel Thalmann be1fd16d27 Reorder installation steps 2024-08-08 13:17:14 +02:00
Manuel Thalmann 69b66ac28a Reload env after installing git 2024-08-08 12:18:04 +02:00
Manuel Thalmann 5cfe25464c Install features using chocolatey 2024-08-08 05:20:58 +02:00
Manuel Thalmann 4968e3dd7e Ensure git is installed 2024-08-08 05:14:31 +02:00
Manuel Thalmann 3e9ff66f3e Fix broken XML document creation 2024-08-08 05:04:59 +02:00
Manuel Thalmann e156cfdade Fix incorrect path 2024-08-08 05:01:45 +02:00
Manuel Thalmann a4a4ff9afb Add a stage for creating users 2024-08-08 04:38:40 +02:00
Manuel Thalmann c05c91f21b Add scripts for all remaining apps 2024-08-08 04:36:35 +02:00
Manuel Thalmann 79edb4aa86 Rename all old installation scripts 2024-08-08 02:56:13 +02:00
Manuel Thalmann 5313698fe1 Remove Firefox taskbar icon 2024-08-08 02:29:09 +02:00
Manuel Thalmann f7f3df82c6 Allow removing task bar icons 2024-08-08 02:28:40 +02:00
Manuel Thalmann 962f216a52 Rename old LGHub script 2024-08-08 02:27:39 +02:00
Manuel Thalmann 20cb417df7 Rename PuTTY script 2024-08-08 00:51:45 +02:00
Manuel Thalmann ec061519b4 Add scripts for installing Tobii apps 2024-08-08 00:06:49 +02:00
Manuel Thalmann d4c9683a54 Copy keyboard layout to welcome screen 2024-08-07 23:53:26 +02:00
Manuel Thalmann 3c2459b715 Add scripts for desktop apps 2024-08-07 23:53:12 +02:00
Manuel Thalmann a32a3d0b4c Rename old Nextcloud script 2024-08-07 23:45:56 +02:00
Manuel Thalmann e638133021 Add a script for installing Oh My Posh 2024-08-07 23:22:04 +02:00
Manuel Thalmann 671fec827d Add scripts for installing PS modules 2024-08-07 22:55:25 +02:00
Manuel Thalmann 39b632bd12 Refactor chocolatey script 2024-08-07 21:50:21 +02:00
Manuel Thalmann e7db1a0de7 Pass arguments to software script 2024-08-07 21:37:33 +02:00
Manuel Thalmann 2a043a0f35 Refactor PowerShell profile script 2024-08-07 21:34:40 +02:00
Manuel Thalmann 862ab3c42b Move scripts properly 2024-08-07 21:05:32 +02:00
Manuel Thalmann ee2bd12a29 Add scripts for installing PowerShell 2024-08-07 20:30:12 +02:00
Manuel Thalmann d28a152eb2 Rename PowerShell script directory 2024-08-07 19:08:13 +02:00
Manuel Thalmann ff3862aa09 Add script for installing Thunderbird 2024-08-07 18:57:27 +02:00
Manuel Thalmann 665f455631 Install drivers in proper phase 2024-08-07 18:54:07 +02:00
Manuel Thalmann 1231cfa663 Add a script for installing WinSCP 2024-08-07 18:30:14 +02:00
Manuel Thalmann 5d86f49cb2 Refactor app association script 2024-08-07 18:29:20 +02:00
Manuel Thalmann fc3f7b4fbd Prevent reboot during WaveLink installation 2024-08-07 18:01:17 +02:00
Manuel Thalmann cd406fc22f Add scripts for installing drivers 2024-08-07 16:17:49 +02:00
Manuel Thalmann 2f1f327554 Add script for installing AMD packages 2024-08-07 15:25:12 +02:00
Manuel Thalmann 78bc825663 Add missing package for selenium 2024-08-07 15:24:56 +02:00
Manuel Thalmann 18c72d632e Ensure correct types for setting download dir 2024-08-07 15:24:37 +02:00
Manuel Thalmann f10b06e42d Add a script for installing ASUS packages 2024-08-07 14:40:24 +02:00
Manuel Thalmann 82c5fe6a82 Refactor browser automation scripts 2024-08-07 14:28:26 +02:00
Manuel Thalmann a99d91793b Execute winget script in a module 2024-08-07 13:36:47 +02:00
Manuel Thalmann ee0104e1e4 Install components for browser automation 2024-08-07 13:36:31 +02:00
Manuel Thalmann 3b426f1b35 Add functions for installing choco and winget packages 2024-08-07 13:22:12 +02:00
Manuel Thalmann ad513290b9 Add a function for checking winget packages 2024-08-07 13:18:29 +02:00
Manuel Thalmann 69093de8f6 Enhance the winget install check 2024-08-07 03:34:12 +02:00
Manuel Thalmann e54edf6952 Add a function for checking NuGet packages 2024-08-07 03:23:59 +02:00
Manuel Thalmann 0c9b6ce1e0 Fix non-functioning script 2024-08-07 03:23:21 +02:00
Manuel Thalmann 3a84a70192 Install PowerShell modules after removing old copy 2024-08-06 18:19:33 +02:00
Manuel Thalmann ba6eb63822 Silence unnecessary output 2024-08-06 17:07:57 +02:00
Manuel Thalmann 6c626adc2d Add a separate function for executing software actions 2024-08-06 16:54:11 +02:00
Manuel Thalmann d591462661 Add a function for checking whether a setup is being run 2024-08-06 14:32:37 +02:00
Manuel Thalmann 05921c313a Determine software script name properly 2024-08-06 12:21:48 +02:00
Manuel Thalmann bed94eb232 Fix incorrect path 2024-08-06 12:21:00 +02:00
Manuel Thalmann a6eb1557a9 Fix incorrectly imported modules 2024-08-06 11:39:57 +02:00
Manuel Thalmann ca9adf1c5d Fix incorrect XPaths 2024-08-06 11:39:48 +02:00
Manuel Thalmann ea690b1ce9 Set the name of the setup user properly 2024-08-06 10:22:50 +02:00
Manuel Thalmann 03c3bf77e0 Add scripts for installing essential software 2024-08-06 00:04:02 +02:00
Manuel Thalmann 693f432fef Add a function for removing desktop icons 2024-08-06 00:02:07 +02:00
Manuel Thalmann 1db979d9ba Add an option for showing file extensions 2024-08-05 23:22:22 +02:00
Manuel Thalmann 21b1ac28df Ensure the environment variables are always set properly 2024-08-05 23:09:58 +02:00
Manuel Thalmann 9109639ac6 Fix incorrect argument initialization 2024-08-05 23:08:36 +02:00
Manuel Thalmann d2599ee322 Ensure Arguments contains an object 2024-08-05 22:51:29 +02:00
Manuel Thalmann b1ff2d784f Fix argument redirection 2024-08-05 22:49:44 +02:00
Manuel Thalmann 86f56b2a7e Fix non-functioning script 2024-08-05 22:45:17 +02:00
Manuel Thalmann 05ab7fe273 Allow running further installer actions within an installer 2024-08-05 22:29:20 +02:00
Manuel Thalmann e81d0e2581 Refactor windows configuration script 2024-08-05 20:07:39 +02:00
Manuel Thalmann 60877942f8 Refactor software script environment 2024-08-05 00:07:41 +02:00
Manuel Thalmann 337715c629 Set CONFIG_MODULE to full path by default 2024-08-02 01:57:31 +02:00
Manuel Thalmann ba273daa32 Enter next stage after configuration 2024-08-02 01:44:56 +02:00
Manuel Thalmann df18340177 Make config module persist in WSL 2024-08-02 00:47:33 +02:00
Manuel Thalmann f725b8076a Ensure arguments are passed to fish 2024-08-01 23:36:03 +02:00
Manuel Thalmann 34536e9fdd Fix installer script structure 2024-08-01 23:34:35 +02:00
Manuel Thalmann 7df6dafb52 Declare InstallerAction in a separate file 2024-08-01 22:52:51 +02:00
Manuel Thalmann 887bcc128a Ensure necessary modules are imported 2024-08-01 21:49:46 +02:00
Manuel Thalmann 9ef9acae56 Import SetupStage enum into installation module 2024-08-01 21:32:33 +02:00
Manuel Thalmann 05459a1cd1 Pause on error by default 2024-08-01 21:08:31 +02:00
Manuel Thalmann 6fd782721a Display the software name during installation 2024-08-01 21:06:03 +02:00
Manuel Thalmann 73c9affcfe Fix non-functioning command 2024-08-01 20:34:55 +02:00
Manuel Thalmann e386b7c8c8 Remove non-existent script 2024-08-01 19:10:10 +02:00
Manuel Thalmann 9025680782 Nest installation functions in a module 2024-08-01 19:02:12 +02:00
Manuel Thalmann 5af4b9ca40 Install winget if nonexistent 2024-08-01 18:58:33 +02:00
Manuel Thalmann fd32029507 Use the new commands 2024-08-01 18:36:47 +02:00
Manuel Thalmann 5249ffc281 Add dedicated commands for checking software 2024-08-01 18:35:45 +02:00
Manuel Thalmann 516a340ced Add a script for managing software 2024-08-01 18:24:26 +02:00
Manuel Thalmann cce14d35ba Fix nix installation check 2024-08-01 18:05:10 +02:00
Manuel Thalmann 34e2f9ce8e Make nix visible to WSL 2024-08-01 18:03:48 +02:00
Manuel Thalmann 26f05e601a Add a function for getting the users to create 2024-08-01 17:56:42 +02:00
Manuel Thalmann 1a44df8073 Rename the file containing software functions 2024-08-01 17:38:59 +02:00
Manuel Thalmann 111e98d878 Configure clock for dualboot systems 2024-08-01 16:32:03 +02:00
Manuel Thalmann edc471ecc0 Enter configuration stage if nix exists 2024-08-01 16:28:48 +02:00
Manuel Thalmann 59997ab70a Reboot WSL to pick up nix 2024-08-01 16:25:18 +02:00
Manuel Thalmann 2445f2da23 Add a function for retrieving nix options 2024-08-01 16:12:58 +02:00
Manuel Thalmann 10cffce906 Make CONFIG_MODULE available in WSL 2024-08-01 14:39:44 +02:00
Manuel Thalmann 0b21d55bee Install WSL and nix by default 2024-08-01 14:06:40 +02:00
Manuel Thalmann fd361f7d00 Rename config module file 2024-08-01 12:39:27 +02:00
Manuel Thalmann 72c7bf9924 Reword log messages 2024-08-01 12:32:43 +02:00
Manuel Thalmann a1fbe3392a Fix syntax error 2024-08-01 12:31:25 +02:00
Manuel Thalmann 61339c762f Import scripting module inside the PowerManagement module 2024-08-01 12:24:28 +02:00
Manuel Thalmann 0aaa1e1c40 Add scripts for updating windows 2024-08-01 02:59:32 +02:00
Manuel Thalmann 286073fc82 Fix errors in the PowerManagement module 2024-08-01 02:19:05 +02:00
Manuel Thalmann 0e896277a1 Fix syntax error 2024-08-01 01:22:23 +02:00
Manuel Thalmann fc59851f5b Fix incorrect documentation comment 2024-07-31 23:10:21 +02:00
Manuel Thalmann 3eaa890147 Fix handling of setup stages 2024-07-31 22:33:37 +02:00
Manuel Thalmann 6de6298421 Set registry values properly 2024-07-31 22:33:16 +02:00
Manuel Thalmann bd245f1d57 Display console output of hooks 2024-07-31 22:18:47 +02:00
Manuel Thalmann 42e818493c Store stages using their name 2024-07-31 16:52:49 +02:00
Manuel Thalmann 97ec1648fc Refactor the installation loop architecture 2024-07-31 16:25:32 +02:00
Manuel Thalmann de3136f131 Implement install loop properly 2024-07-31 16:15:09 +02:00
Manuel Thalmann b957a66b3d Implement the windows installation in a loop 2024-07-31 16:09:50 +02:00
Manuel Thalmann e09b4d2ba6 Recreate script to first install pwsh 2024-07-31 15:52:41 +02:00
Manuel Thalmann 002627471f Normalize script formatting 2024-07-31 15:52:23 +02:00
Manuel Thalmann 8d8bd2df84 Add a script for managing setup options 2024-07-31 15:42:02 +02:00
Manuel Thalmann bec10de9ad Add a script for rebooting the computer 2024-07-31 15:41:45 +02:00
Manuel Thalmann 6993f95af8 Add a separate script for injecting values into scripts 2024-07-31 14:55:00 +02:00
Manuel Thalmann fce16d6f0c Add a script for checking for installed choco packages 2024-07-31 14:53:21 +02:00
Manuel Thalmann 1b5fd6eb3a Copy pwsh to newly setup windows systems 2024-07-31 14:47:42 +02:00
Manuel Thalmann 4b788a6637 Rename old windows installation script 2024-07-30 18:47:01 +02:00
Manuel Thalmann 3972c1e63d Add a function for executing hooks 2024-07-30 18:34:19 +02:00
Manuel Thalmann 25e9153f8b Load dualboot sizes from nix 2024-07-29 01:44:12 +02:00
Manuel Thalmann bea3e68925 Nest Windows setup in a function 2024-07-28 20:52:07 +02:00
Manuel Thalmann 7da1f876cb Make nix config accessible in scripts 2024-07-28 12:16:01 +02:00
Manuel Thalmann 65b97f33db Run installer script after initialization 2024-07-27 23:18:04 +02:00
Manuel Thalmann 10d49a55fa Pass boot script path via env variable 2024-07-27 18:59:47 +02:00
Manuel Thalmann 01e19d03e4 Relocate powershell profile script 2024-07-16 14:06:19 +02:00
Manuel Thalmann 0d909f5a5a Streamline aliae installation 2024-07-16 03:30:14 +02:00
Manuel Thalmann a267cee3eb Replace packages with too frequent updates 2024-06-23 19:57:12 +02:00
Manuel Thalmann 7b014d83b6 Skip installation of vscode insiders versions 2024-04-06 16:30:11 +02:00
Manuel Thalmann 9e8c44f07c Install zoxide 2024-04-04 17:54:18 +02:00
Manuel Thalmann f1c96a6843 Ensure vscode is in path 2024-04-01 20:10:36 +02:00
Manuel Thalmann c81db0c957 Install WingetUI 2024-04-01 20:10:07 +02:00
Manuel Thalmann 66b8e34906 Ensure to run bash scripts using bash 2024-04-01 17:02:49 +02:00
Manuel Thalmann 3c01e29bed Install Ext4Fsd for dual boot computer 2024-03-30 21:49:46 +01:00
Manuel Thalmann 4e07b058f7 Pre-install vscode extensions 2024-03-25 19:54:26 +01:00
Manuel Thalmann c3524465e4 Disable Dynamic Lighting by default 2024-03-24 20:18:29 +01:00
Manuel Thalmann ddb9b2936a Skip unpacking of existing files 2024-03-24 18:17:18 +01:00
Manuel Thalmann f58b7895e4 Move cleanup scripts to proper location 2024-03-24 18:16:29 +01:00
Manuel Thalmann 6cac37b0a9 Overwrite existing files when unpacking osu! 2024-03-24 18:09:22 +01:00
Manuel Thalmann 47d8a51381 Allow addition of custom restoration arguments 2024-03-24 18:08:54 +01:00
Manuel Thalmann aaf1eab21b Kill all processes related to LGHub during restore 2024-03-24 17:47:41 +01:00
Manuel Thalmann 32e29c5c03 Only back up installed Visual Studio versions 2024-03-24 17:37:13 +01:00
Manuel Thalmann ecbdfc9152 Add further Visual Studio versions 2024-03-24 17:34:25 +01:00
Manuel Thalmann d2990ad53d Only restore previously installed VS versions 2024-03-24 17:17:57 +01:00
Manuel Thalmann d803c80611 Prevent unnecessary output 2024-03-24 16:56:55 +01:00
Manuel Thalmann cc8f1e6c51 Add missing import 2024-03-24 16:54:36 +01:00
Manuel Thalmann ff211d89ae Ensure the KnownFolders module is imported before use 2024-03-24 15:18:01 +01:00
Manuel Thalmann be052f8b2f Fix Logitech G Hub scripts 2024-03-24 13:47:53 +01:00
Manuel Thalmann c0f20ce64b Ignore inexistent POSH_THEME variable 2024-03-24 03:17:50 +01:00
Manuel Thalmann ac8a58eac8 Unser POSH_THEME variable during installation 2024-03-24 02:51:22 +01:00
Manuel Thalmann bd62c46504 Make more descriptive prompt 2024-03-24 02:10:45 +01:00
Manuel Thalmann 41653e34e6 Fix accessability of variables 2024-03-24 02:06:16 +01:00
Manuel Thalmann c0d8936fc9 Fix syntax errors 2024-03-24 02:04:43 +01:00
Manuel Thalmann ac0b53550e Fix inaccessible variable 2024-03-24 01:59:39 +01:00
Manuel Thalmann ba61657cfe Update code accordingly 2024-03-24 01:10:44 +01:00
Manuel Thalmann c772ccb6cd Create ExpandString values by default 2024-03-24 01:10:00 +01:00
Manuel Thalmann ddcf93e14d Make aliae work out of the box 2024-03-23 23:27:06 +01:00
Manuel Thalmann afe6626a37 Fix invalid syntax 2024-03-23 23:26:22 +01:00
Manuel Thalmann 8e3152ee03 Fix infinite loop 2024-03-23 22:38:11 +01:00
Manuel Thalmann 76370d1de1 Refactor switch statements 2024-03-23 21:51:19 +01:00
Manuel Thalmann 962b0952ea Ensure prerequisites are installed at the very beginning 2024-03-23 17:53:43 +01:00
Manuel Thalmann fbacb2dcc7 Pause scripts on errors 2024-03-23 17:32:45 +01:00
Manuel Thalmann b1b230972f Silence unnecessary errors 2024-03-23 17:31:16 +01:00
Manuel Thalmann 34751740be Move file lists to proper location 2024-03-23 17:29:07 +01:00
Manuel Thalmann f0e3eb14f3 Move file lists to resource directory 2024-03-23 17:18:38 +01:00
Manuel Thalmann f0d9441a19 Print a warning concerning backup preservation 2024-03-23 16:34:08 +01:00
Manuel Thalmann 799cdee06d Remove unnecessary software 2024-03-23 16:15:08 +01:00
Manuel Thalmann 4eaef9a7c3 Log further messages 2024-03-23 15:59:55 +01:00
Manuel Thalmann 686efa716d Lead user through the setup properly 2024-03-23 15:57:25 +01:00
Manuel Thalmann cce121656d Rename user stages 2024-03-23 15:54:15 +01:00
Manuel Thalmann 8c404feddf Refactor user creation process 2024-03-23 15:54:09 +01:00
Manuel Thalmann ff0d70493a Refactor user creation script 2024-03-23 15:47:31 +01:00
Manuel Thalmann be49a7d80c Allow creation of multiple users 2024-03-23 15:38:06 +01:00
Manuel Thalmann a49a926135 Set the user name by default 2024-03-23 15:29:37 +01:00
Manuel Thalmann 1b10d40bbe Represent numbers as hex if applicable 2024-03-23 15:27:40 +01:00
Manuel Thalmann 23fca23cbe Install prerequisites during backups 2024-03-23 15:16:12 +01:00
Manuel Thalmann f55e5ab8b9 Install Windows based on installation stages 2024-03-23 15:09:58 +01:00
Manuel Thalmann c51f1c9367 Install script prerequisites automatically 2024-03-23 14:29:59 +01:00