Commit graph

793 commits

Author SHA1 Message Date
Manuel Thalmann ec5e4c6340 Ensure the environment variables are always set properly 2024-08-05 23:09:58 +02:00
Manuel Thalmann d6b7adb505 Fix incorrect argument initialization 2024-08-05 23:08:36 +02:00
Manuel Thalmann 7f652770d1 Ensure Arguments contains an object 2024-08-05 22:51:29 +02:00
Manuel Thalmann 68aaa413a6 Fix argument redirection 2024-08-05 22:49:44 +02:00
Manuel Thalmann d302f21790 Fix non-functioning script 2024-08-05 22:45:17 +02:00
Manuel Thalmann 53ac1902ac Allow running further installer actions within an installer 2024-08-05 22:29:20 +02:00
Manuel Thalmann 64c1f6e6e6 Refactor windows configuration script 2024-08-05 20:07:39 +02:00
Manuel Thalmann e5597f52bb Refactor software script environment 2024-08-05 00:07:41 +02:00
Manuel Thalmann 3c931ecaa4 Set CONFIG_MODULE to full path by default 2024-08-02 01:57:31 +02:00
Manuel Thalmann 28215029fc Enter next stage after configuration 2024-08-02 01:44:56 +02:00
Manuel Thalmann eeaf5e02d4 Make config module persist in WSL 2024-08-02 00:47:33 +02:00
Manuel Thalmann 39a7f508a8 Ensure arguments are passed to fish 2024-08-01 23:36:03 +02:00
Manuel Thalmann 1e6dee9fbf Fix installer script structure 2024-08-01 23:34:35 +02:00
Manuel Thalmann ca3bd7269d Declare InstallerAction in a separate file 2024-08-01 22:52:51 +02:00
Manuel Thalmann 5af51b76cf Ensure necessary modules are imported 2024-08-01 21:49:46 +02:00
Manuel Thalmann 208a559b31 Import SetupStage enum into installation module 2024-08-01 21:32:33 +02:00
Manuel Thalmann eed031e193 Pause on error by default 2024-08-01 21:08:31 +02:00
Manuel Thalmann 7215cfe7b0 Display the software name during installation 2024-08-01 21:06:03 +02:00
Manuel Thalmann bc32dd49cf Fix non-functioning command 2024-08-01 20:34:55 +02:00
Manuel Thalmann eb6bcc0c0c Remove non-existent script 2024-08-01 19:10:10 +02:00
Manuel Thalmann ab44eed518 Nest installation functions in a module 2024-08-01 19:02:12 +02:00
Manuel Thalmann 42045d4570 Install winget if nonexistent 2024-08-01 18:58:33 +02:00
Manuel Thalmann 0b43f4db9b Use the new commands 2024-08-01 18:36:47 +02:00
Manuel Thalmann e717c9ba29 Add dedicated commands for checking software 2024-08-01 18:35:45 +02:00
Manuel Thalmann e37a482ed0 Add a script for managing software 2024-08-01 18:24:26 +02:00
Manuel Thalmann 2fc4ff4625 Fix nix installation check 2024-08-01 18:05:10 +02:00
Manuel Thalmann a8e5b39a45 Make nix visible to WSL 2024-08-01 18:03:48 +02:00
Manuel Thalmann b68564064f Add a function for getting the users to create 2024-08-01 17:56:42 +02:00
Manuel Thalmann 4a00f804ad Rename the file containing software functions 2024-08-01 17:38:59 +02:00
Manuel Thalmann 18ebf99de1 Configure clock for dualboot systems 2024-08-01 16:32:03 +02:00
Manuel Thalmann d1a8d08780 Enter configuration stage if nix exists 2024-08-01 16:28:48 +02:00
Manuel Thalmann c07961826e Reboot WSL to pick up nix 2024-08-01 16:25:18 +02:00
Manuel Thalmann dac832c8bb Add a function for retrieving nix options 2024-08-01 16:12:58 +02:00
Manuel Thalmann 9cd44db4e8 Make CONFIG_MODULE available in WSL 2024-08-01 14:39:44 +02:00
Manuel Thalmann 1b0fc045d5 Install WSL and nix by default 2024-08-01 14:06:40 +02:00
Manuel Thalmann 96d454475d Rename config module file 2024-08-01 12:39:27 +02:00
Manuel Thalmann 1452c2c9f2 Reword log messages 2024-08-01 12:32:43 +02:00
Manuel Thalmann 66b374e1ad Fix syntax error 2024-08-01 12:31:25 +02:00
Manuel Thalmann 28cddf6a1b Import scripting module inside the PowerManagement module 2024-08-01 12:24:28 +02:00
Manuel Thalmann 294609430e Add scripts for updating windows 2024-08-01 02:59:32 +02:00
Manuel Thalmann c56d79f21e Fix errors in the PowerManagement module 2024-08-01 02:19:05 +02:00
Manuel Thalmann c2c088ee6b Fix syntax error 2024-08-01 01:22:23 +02:00
Manuel Thalmann 5975f96155 Fix incorrect documentation comment 2024-07-31 23:10:21 +02:00
Manuel Thalmann cffe1672e8 Fix handling of setup stages 2024-07-31 22:33:37 +02:00
Manuel Thalmann bfb86531b5 Set registry values properly 2024-07-31 22:33:16 +02:00
Manuel Thalmann 7efb82e0e6 Display console output of hooks 2024-07-31 22:18:47 +02:00
Manuel Thalmann 95affefc35 Store stages using their name 2024-07-31 16:52:49 +02:00
Manuel Thalmann 382e3aac61 Refactor the installation loop architecture 2024-07-31 16:25:32 +02:00
Manuel Thalmann 60dc4af97e Implement install loop properly 2024-07-31 16:15:09 +02:00
Manuel Thalmann 2abd362e22 Implement the windows installation in a loop 2024-07-31 16:09:50 +02:00
Manuel Thalmann 7ed20680b1 Recreate script to first install pwsh 2024-07-31 15:52:41 +02:00
Manuel Thalmann 0a47d980c5 Normalize script formatting 2024-07-31 15:52:23 +02:00
Manuel Thalmann 6ff93d2060 Add a script for managing setup options 2024-07-31 15:42:02 +02:00
Manuel Thalmann 120888b232 Add a script for rebooting the computer 2024-07-31 15:41:45 +02:00
Manuel Thalmann a762ca15d1 Add a separate script for injecting values into scripts 2024-07-31 14:55:00 +02:00
Manuel Thalmann 1d388471d9 Add a script for checking for installed choco packages 2024-07-31 14:53:21 +02:00
Manuel Thalmann 6eec0251f5 Copy pwsh to newly setup windows systems 2024-07-31 14:47:42 +02:00
Manuel Thalmann ffaf0eb403 Rename old windows installation script 2024-07-30 18:47:01 +02:00
Manuel Thalmann 9d7c26b868 Add a function for executing hooks 2024-07-30 18:34:19 +02:00
Manuel Thalmann 923bd456ea Load dualboot sizes from nix 2024-07-29 01:44:12 +02:00
Manuel Thalmann 221a7b749d Nest Windows setup in a function 2024-07-28 20:52:07 +02:00
Manuel Thalmann 50ca9227b5 Make nix config accessible in scripts 2024-07-28 12:16:01 +02:00
Manuel Thalmann 107b8fc14b Run installer script after initialization 2024-07-27 23:18:04 +02:00
Manuel Thalmann 3b346ee757 Pass boot script path via env variable 2024-07-27 18:59:47 +02:00
Manuel Thalmann 4c34db9d43 Relocate powershell profile script 2024-07-16 14:06:19 +02:00
Manuel Thalmann f50920d868 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