Commit graph

254 commits

Author SHA1 Message Date
Manuel Thalmann 9b6cdd24e5 Nest installation functions in a module 2024-08-01 19:02:12 +02:00
Manuel Thalmann 5bb1a19a1f Install winget if nonexistent 2024-08-01 18:58:33 +02:00
Manuel Thalmann fe11ddf570 Use the new commands 2024-08-01 18:36:47 +02:00
Manuel Thalmann 466813fe39 Fix nix installation check 2024-08-01 18:05:10 +02:00
Manuel Thalmann 05201f1108 Configure clock for dualboot systems 2024-08-01 16:32:03 +02:00
Manuel Thalmann e868255996 Enter configuration stage if nix exists 2024-08-01 16:28:48 +02:00
Manuel Thalmann 73ca5018b2 Reboot WSL to pick up nix 2024-08-01 16:25:18 +02:00
Manuel Thalmann 50951b31ff Make CONFIG_MODULE available in WSL 2024-08-01 14:39:44 +02:00
Manuel Thalmann ded0d4efd0 Install WSL and nix by default 2024-08-01 14:06:40 +02:00
Manuel Thalmann 040f20edce Rename config module file 2024-08-01 12:39:27 +02:00
Manuel Thalmann 12c449eb7c Add scripts for updating windows 2024-08-01 02:59:32 +02:00
Manuel Thalmann fab3c239f6 Fix syntax error 2024-08-01 01:22:23 +02:00
Manuel Thalmann 5e2dc315a8 Fix incorrect documentation comment 2024-07-31 23:10:21 +02:00
Manuel Thalmann 467ad0caab Refactor the installation loop architecture 2024-07-31 16:25:32 +02:00
Manuel Thalmann 73c0648611 Implement install loop properly 2024-07-31 16:15:09 +02:00
Manuel Thalmann afb2d1be65 Implement the windows installation in a loop 2024-07-31 16:09:50 +02:00
Manuel Thalmann 401aa9e41c Recreate script to first install pwsh 2024-07-31 15:52:41 +02:00
Manuel Thalmann be4ee90f7d Add a separate script for injecting values into scripts 2024-07-31 14:55:00 +02:00
Manuel Thalmann 1012705160 Copy pwsh to newly setup windows systems 2024-07-31 14:47:42 +02:00
Manuel Thalmann ef773d993c Rename old windows installation script 2024-07-30 18:47:01 +02:00
Manuel Thalmann ebf89c0f31 Load dualboot sizes from nix 2024-07-29 01:44:12 +02:00
Manuel Thalmann 9ea7d31053 Nest Windows setup in a function 2024-07-28 20:52:07 +02:00
Manuel Thalmann 40b0bafcac Make nix config accessible in scripts 2024-07-28 12:16:01 +02:00
Manuel Thalmann 2e7be10a9c Run installer script after initialization 2024-07-27 23:18:04 +02:00
Manuel Thalmann 800261791e Pass boot script path via env variable 2024-07-27 18:59:47 +02:00
Manuel Thalmann ab17fa75d6 Move cleanup scripts to proper location 2024-03-24 18:16:29 +01:00
Manuel Thalmann 94024951ff Prevent unnecessary output 2024-03-24 16:56:55 +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 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 9fad7ed0de Print a warning concerning backup preservation 2024-03-23 16:34: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
Manuel Thalmann 9bfb2f200a Install prerequisites during backups 2024-03-23 15:16:12 +01:00