Commit graph

777 commits

Author SHA1 Message Date
Manuel Thalmann 1568d597a2 Ensure necessary modules are imported 2024-08-01 21:49:46 +02:00
Manuel Thalmann a508c15b9f Import SetupStage enum into installation module 2024-08-01 21:32:33 +02:00
Manuel Thalmann e8963dd0a8 Pause on error by default 2024-08-01 21:08:31 +02:00
Manuel Thalmann 11e0431982 Display the software name during installation 2024-08-01 21:06:03 +02:00
Manuel Thalmann cb9e774358 Fix non-functioning command 2024-08-01 20:34:55 +02:00
Manuel Thalmann f266ccb472 Remove non-existent script 2024-08-01 19:10:10 +02:00
Manuel Thalmann 59b303a7bd Nest installation functions in a module 2024-08-01 19:02:12 +02:00
Manuel Thalmann 29d40642cf Install winget if nonexistent 2024-08-01 18:58:33 +02:00
Manuel Thalmann 49dc99c160 Use the new commands 2024-08-01 18:36:47 +02:00
Manuel Thalmann af32bf22e3 Add dedicated commands for checking software 2024-08-01 18:35:45 +02:00
Manuel Thalmann 865cf901b0 Add a script for managing software 2024-08-01 18:24:26 +02:00
Manuel Thalmann 2929025351 Fix nix installation check 2024-08-01 18:05:10 +02:00
Manuel Thalmann 317aad550a Make nix visible to WSL 2024-08-01 18:03:48 +02:00
Manuel Thalmann 5b7122ce2e Add a function for getting the users to create 2024-08-01 17:56:42 +02:00
Manuel Thalmann 8929286b02 Rename the file containing software functions 2024-08-01 17:38:59 +02:00
Manuel Thalmann 65b8e2200f Configure clock for dualboot systems 2024-08-01 16:32:03 +02:00
Manuel Thalmann d8f001dfef Enter configuration stage if nix exists 2024-08-01 16:28:48 +02:00
Manuel Thalmann ee926e163a Reboot WSL to pick up nix 2024-08-01 16:25:18 +02:00
Manuel Thalmann de2db7fb9f Add a function for retrieving nix options 2024-08-01 16:12:58 +02:00
Manuel Thalmann 480f9c38b4 Make CONFIG_MODULE available in WSL 2024-08-01 14:39:44 +02:00
Manuel Thalmann f617e1e167 Install WSL and nix by default 2024-08-01 14:06:40 +02:00
Manuel Thalmann 01360551e2 Rename config module file 2024-08-01 12:39:27 +02:00
Manuel Thalmann 381587ea8a Reword log messages 2024-08-01 12:32:43 +02:00
Manuel Thalmann 31c274f441 Fix syntax error 2024-08-01 12:31:25 +02:00
Manuel Thalmann 38cbff8180 Import scripting module inside the PowerManagement module 2024-08-01 12:24:28 +02:00
Manuel Thalmann a73d20bad2 Add scripts for updating windows 2024-08-01 02:59:32 +02:00
Manuel Thalmann eab81ef9cb Fix errors in the PowerManagement module 2024-08-01 02:19:05 +02:00
Manuel Thalmann aadc33f564 Fix syntax error 2024-08-01 01:22:23 +02:00
Manuel Thalmann ffcb4985b3 Fix incorrect documentation comment 2024-07-31 23:10:21 +02:00
Manuel Thalmann cef8ccb102 Fix handling of setup stages 2024-07-31 22:33:37 +02:00
Manuel Thalmann 322982901f Set registry values properly 2024-07-31 22:33:16 +02:00
Manuel Thalmann 7bb859d051 Display console output of hooks 2024-07-31 22:18:47 +02:00
Manuel Thalmann 4aac8101a5 Store stages using their name 2024-07-31 16:52:49 +02:00
Manuel Thalmann 78760961e2 Refactor the installation loop architecture 2024-07-31 16:25:32 +02:00
Manuel Thalmann 17d14f20ab Implement install loop properly 2024-07-31 16:15:09 +02:00
Manuel Thalmann 6f23b23bb8 Implement the windows installation in a loop 2024-07-31 16:09:50 +02:00
Manuel Thalmann 20c7571eec Recreate script to first install pwsh 2024-07-31 15:52:41 +02:00
Manuel Thalmann 737a0795b6 Normalize script formatting 2024-07-31 15:52:23 +02:00
Manuel Thalmann 619bc837ff Add a script for managing setup options 2024-07-31 15:42:02 +02:00
Manuel Thalmann 8a58990ecb Add a script for rebooting the computer 2024-07-31 15:41:45 +02:00
Manuel Thalmann d99ec62d71 Add a separate script for injecting values into scripts 2024-07-31 14:55:00 +02:00
Manuel Thalmann 8101b3a79b Add a script for checking for installed choco packages 2024-07-31 14:53:21 +02:00
Manuel Thalmann 655e05e706 Copy pwsh to newly setup windows systems 2024-07-31 14:47:42 +02:00
Manuel Thalmann 41f73d7558 Rename old windows installation script 2024-07-30 18:47:01 +02:00
Manuel Thalmann 189642c892 Add a function for executing hooks 2024-07-30 18:34:19 +02:00
Manuel Thalmann 71cdc21f2e Load dualboot sizes from nix 2024-07-29 01:44:12 +02:00
Manuel Thalmann 73a3959014 Nest Windows setup in a function 2024-07-28 20:52:07 +02:00
Manuel Thalmann 538b2e776c Make nix config accessible in scripts 2024-07-28 12:16:01 +02:00
Manuel Thalmann 07cb8eda84 Run installer script after initialization 2024-07-27 23:18:04 +02:00
Manuel Thalmann a5086d87fa Pass boot script path via env variable 2024-07-27 18:59:47 +02:00
Manuel Thalmann 0723e541b3 Relocate powershell profile script 2024-07-16 14:06:19 +02:00
Manuel Thalmann fdd154da2f Streamline aliae installation 2024-07-16 03:30:14 +02:00
Manuel Thalmann f22d56d670 Replace packages with too frequent updates 2024-06-23 19:57:12 +02:00
Manuel Thalmann be8a01eeef Skip installation of vscode insiders versions 2024-04-06 16:30:11 +02:00
Manuel Thalmann eacf8f9eb9 Install zoxide 2024-04-04 17:54:18 +02:00
Manuel Thalmann ef8b83b102 Ensure vscode is in path 2024-04-01 20:10:36 +02:00
Manuel Thalmann c3c8d5719d Install WingetUI 2024-04-01 20:10:07 +02:00
Manuel Thalmann 855715059e Ensure to run bash scripts using bash 2024-04-01 17:02:49 +02:00
Manuel Thalmann 6128c78eba Install Ext4Fsd for dual boot computer 2024-03-30 21:49:46 +01:00
Manuel Thalmann 8239b01fd6 Pre-install vscode extensions 2024-03-25 19:54:26 +01:00
Manuel Thalmann b834b7d0f6 Disable Dynamic Lighting by default 2024-03-24 20:18:29 +01:00
Manuel Thalmann b273eeec68 Skip unpacking of existing files 2024-03-24 18:17:18 +01:00
Manuel Thalmann ab17fa75d6 Move cleanup scripts to proper location 2024-03-24 18:16:29 +01:00
Manuel Thalmann 87a83600db Overwrite existing files when unpacking osu! 2024-03-24 18:09:22 +01:00
Manuel Thalmann 17a18866f5 Allow addition of custom restoration arguments 2024-03-24 18:08:54 +01:00
Manuel Thalmann c781134141 Kill all processes related to LGHub during restore 2024-03-24 17:47:41 +01:00
Manuel Thalmann 72615ab002 Only back up installed Visual Studio versions 2024-03-24 17:37:13 +01:00
Manuel Thalmann 6e806af2a0 Add further Visual Studio versions 2024-03-24 17:34:25 +01:00
Manuel Thalmann 22f3932ada Only restore previously installed VS versions 2024-03-24 17:17:57 +01:00
Manuel Thalmann 94024951ff Prevent unnecessary output 2024-03-24 16:56:55 +01:00
Manuel Thalmann 7ae676141d Add missing import 2024-03-24 16:54:36 +01:00
Manuel Thalmann 1b87ddfabb Ensure the KnownFolders module is imported before use 2024-03-24 15:18:01 +01:00
Manuel Thalmann 09939d2ee9 Fix Logitech G Hub scripts 2024-03-24 13:47:53 +01:00
Manuel Thalmann bf8f9c1487 Ignore inexistent POSH_THEME variable 2024-03-24 03:17:50 +01:00
Manuel Thalmann 0817849ef1 Unser POSH_THEME variable during installation 2024-03-24 02:51:22 +01:00
Manuel Thalmann 3d10553d9a Make more descriptive prompt 2024-03-24 02:10:45 +01:00
Manuel Thalmann 745157dbc0 Fix accessability of variables 2024-03-24 02:06:16 +01:00
Manuel Thalmann b3b99fe422 Fix syntax errors 2024-03-24 02:04:43 +01:00
Manuel Thalmann 060ae06753 Fix inaccessible variable 2024-03-24 01:59:39 +01:00
Manuel Thalmann fed96c7cdf Update code accordingly 2024-03-24 01:10:44 +01:00
Manuel Thalmann f91980ce9a Create ExpandString values by default 2024-03-24 01:10:00 +01:00
Manuel Thalmann 3c60befb27 Make aliae work out of the box 2024-03-23 23:27:06 +01:00
Manuel Thalmann 77d779be02 Fix invalid syntax 2024-03-23 23:26:22 +01:00
Manuel Thalmann 29d74b3a27 Fix infinite loop 2024-03-23 22:38:11 +01:00
Manuel Thalmann 04e8ae1197 Refactor switch statements 2024-03-23 21:51:19 +01:00
Manuel Thalmann 67fc0770f3 Ensure prerequisites are installed at the very beginning 2024-03-23 17:53:43 +01:00
Manuel Thalmann 19900bac81 Pause scripts on errors 2024-03-23 17:32:45 +01:00
Manuel Thalmann ba5c46a884 Silence unnecessary errors 2024-03-23 17:31:16 +01:00
Manuel Thalmann c3bcd60a10 Move file lists to proper location 2024-03-23 17:29:07 +01:00
Manuel Thalmann 3f905b0753 Move file lists to resource directory 2024-03-23 17:18:38 +01:00
Manuel Thalmann 9fad7ed0de Print a warning concerning backup preservation 2024-03-23 16:34:08 +01:00
Manuel Thalmann 1344f287aa Remove unnecessary software 2024-03-23 16:15:08 +01:00
Manuel Thalmann d6cb9c5f70 Log further messages 2024-03-23 15:59:55 +01:00
Manuel Thalmann 60f090349c Lead user through the setup properly 2024-03-23 15:57:25 +01:00
Manuel Thalmann 6d02e1bcb9 Rename user stages 2024-03-23 15:54:15 +01:00
Manuel Thalmann 7c1befdef4 Refactor user creation process 2024-03-23 15:54:09 +01:00
Manuel Thalmann 04c6ef125f Refactor user creation script 2024-03-23 15:47:31 +01:00
Manuel Thalmann 0246633c68 Allow creation of multiple users 2024-03-23 15:38:06 +01:00
Manuel Thalmann f1310bafdf Set the user name by default 2024-03-23 15:29:37 +01:00
Manuel Thalmann 6fcb7fb4a8 Represent numbers as hex if applicable 2024-03-23 15:27:40 +01:00