Commit graph

258 commits

Author SHA1 Message Date
Manuel Thalmann ea94c6fa10 Pause on error by default 2024-08-01 21:08:31 +02:00
Manuel Thalmann 9b59ae9c5a Remove non-existent script 2024-08-01 19:10:10 +02:00
Manuel Thalmann 379970e3f6 Nest installation functions in a module 2024-08-01 19:02:12 +02:00
Manuel Thalmann 7ae59c021a Install winget if nonexistent 2024-08-01 18:58:33 +02:00
Manuel Thalmann 066b9b8b7e Use the new commands 2024-08-01 18:36:47 +02:00
Manuel Thalmann fa67e12fa3 Fix nix installation check 2024-08-01 18:05:10 +02:00
Manuel Thalmann c952b1701d Configure clock for dualboot systems 2024-08-01 16:32:03 +02:00
Manuel Thalmann 1a4e294750 Enter configuration stage if nix exists 2024-08-01 16:28:48 +02:00
Manuel Thalmann 3602cbbf83 Reboot WSL to pick up nix 2024-08-01 16:25:18 +02:00
Manuel Thalmann 33297747b8 Make CONFIG_MODULE available in WSL 2024-08-01 14:39:44 +02:00
Manuel Thalmann bd6964a37b Install WSL and nix by default 2024-08-01 14:06:40 +02:00
Manuel Thalmann bdf5254f66 Rename config module file 2024-08-01 12:39:27 +02:00
Manuel Thalmann 0adace7d6e Add scripts for updating windows 2024-08-01 02:59:32 +02:00
Manuel Thalmann e67122b20b Fix syntax error 2024-08-01 01:22:23 +02:00
Manuel Thalmann 54b8d227ff Fix incorrect documentation comment 2024-07-31 23:10:21 +02:00
Manuel Thalmann a4b88c183d Refactor the installation loop architecture 2024-07-31 16:25:32 +02:00
Manuel Thalmann d6919a2c98 Implement install loop properly 2024-07-31 16:15:09 +02:00
Manuel Thalmann 5de8554b13 Implement the windows installation in a loop 2024-07-31 16:09:50 +02:00
Manuel Thalmann ed3455ffb1 Recreate script to first install pwsh 2024-07-31 15:52:41 +02:00
Manuel Thalmann 73dbb502ba Add a separate script for injecting values into scripts 2024-07-31 14:55:00 +02:00
Manuel Thalmann 08a8ef4b96 Copy pwsh to newly setup windows systems 2024-07-31 14:47:42 +02:00
Manuel Thalmann 3be5bd7535 Rename old windows installation script 2024-07-30 18:47:01 +02:00
Manuel Thalmann 4c9aca739d Load dualboot sizes from nix 2024-07-29 01:44:12 +02:00
Manuel Thalmann 4daf222ec3 Nest Windows setup in a function 2024-07-28 20:52:07 +02:00
Manuel Thalmann 58e97cb051 Make nix config accessible in scripts 2024-07-28 12:16:01 +02:00
Manuel Thalmann 6fef809d62 Run installer script after initialization 2024-07-27 23:18:04 +02:00
Manuel Thalmann 6147037a97 Pass boot script path via env variable 2024-07-27 18:59:47 +02:00
Manuel Thalmann f58b7895e4 Move cleanup scripts to proper location 2024-03-24 18:16:29 +01:00
Manuel Thalmann d803c80611 Prevent unnecessary output 2024-03-24 16:56:55 +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 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 f0d9441a19 Print a warning concerning backup preservation 2024-03-23 16:34: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