Commit graph

1017 commits

Author SHA1 Message Date
0a464c90d9 Fix renaming user 2024-08-09 02:20:27 +02:00
40ade7b471 Make specifying PWSH_PATH optional 2024-08-09 02:12:27 +02:00
68bec52a7b Show error properly 2024-08-09 02:00:18 +02:00
10c6f1e155 Fix typo 2024-08-09 01:53:59 +02:00
0ce23ecc9f Remove code duplication 2024-08-09 01:33:04 +02:00
e85ab0431f Remove unnecessary console output 2024-08-09 01:22:51 +02:00
aeca0c1a11 Fix incorrect file paths 2024-08-09 00:17:05 +02:00
3b5752f214 Fix incorrect hardware name 2024-08-09 00:03:45 +02:00
40e67c23e1 Reorder installation steps 2024-08-08 23:03:10 +02:00
30e7c163f2 Refactor the wsl installation check 2024-08-08 22:21:49 +02:00
bbbbff7be4 Ensure WSL Ubuntu is installed 2024-08-08 22:08:13 +02:00
ee06982b21 Leave groups unspecified 2024-08-08 17:50:32 +02:00
62db17bda2 Add users during installation 2024-08-08 17:49:43 +02:00
4aec5d4b53 Install Oh My Posh system wide 2024-08-08 14:23:15 +02:00
216d9464a3 Fix typo 2024-08-08 14:22:22 +02:00
5f382be97d Fix incorrect file paths 2024-08-08 14:21:55 +02:00
8db8dc7a23 Configure NVS after installation 2024-08-08 14:09:20 +02:00
8911b7460b Refactor app association script 2024-08-08 14:09:07 +02:00
d1f60a12b0 Fix typo 2024-08-08 14:08:48 +02:00
6e1322697a Move PinnedItem script to proper location 2024-08-08 14:04:51 +02:00
81d0f2de32 Add notes to installation script 2024-08-08 14:03:15 +02:00
24b43e8410 Add a script for installing LGHub 2024-08-08 13:25:21 +02:00
a0deb0b84b Reorder installation steps 2024-08-08 13:17:14 +02:00
ae3b877c2a Reload env after installing git 2024-08-08 12:18:04 +02:00
aadc6413ad Install features using chocolatey 2024-08-08 05:20:58 +02:00
8812500285 Ensure git is installed 2024-08-08 05:14:31 +02:00
be4a3228da Fix broken XML document creation 2024-08-08 05:04:59 +02:00
e296fee797 Fix incorrect path 2024-08-08 05:01:45 +02:00
995959f958 Add a stage for creating users 2024-08-08 04:38:40 +02:00
198e984bcd Add scripts for all remaining apps 2024-08-08 04:36:35 +02:00
d91beaae7b Rename all old installation scripts 2024-08-08 02:56:13 +02:00
31fb0406ca Remove Firefox taskbar icon 2024-08-08 02:29:09 +02:00
cb3edcfa55 Allow removing task bar icons 2024-08-08 02:28:40 +02:00
d0aed26865 Rename old LGHub script 2024-08-08 02:27:39 +02:00
dfcd4a910b Rename PuTTY script 2024-08-08 00:51:45 +02:00
5d0c332ab5 Add scripts for installing Tobii apps 2024-08-08 00:06:49 +02:00
e3b616200f Copy keyboard layout to welcome screen 2024-08-07 23:53:26 +02:00
f04ec8be9c Add scripts for desktop apps 2024-08-07 23:53:12 +02:00
b31b00fc2d Rename old Nextcloud script 2024-08-07 23:45:56 +02:00
1be771628b Add a script for installing Oh My Posh 2024-08-07 23:22:04 +02:00
5e2e43735e Add scripts for installing PS modules 2024-08-07 22:55:25 +02:00
754dc5483c Refactor chocolatey script 2024-08-07 21:50:21 +02:00
7770ef04a1 Pass arguments to software script 2024-08-07 21:37:33 +02:00
a34aa6c143 Refactor PowerShell profile script 2024-08-07 21:34:40 +02:00
2dfb9d58bf Move scripts properly 2024-08-07 21:05:32 +02:00
36336e332d Add scripts for installing PowerShell 2024-08-07 20:30:12 +02:00
26ef9a12b9 Rename PowerShell script directory 2024-08-07 19:08:13 +02:00
b87117ecd3 Add script for installing Thunderbird 2024-08-07 18:57:27 +02:00
88c765b06e Install drivers in proper phase 2024-08-07 18:54:07 +02:00
a11646372a Add a script for installing WinSCP 2024-08-07 18:30:14 +02:00
fc4215b341 Refactor app association script 2024-08-07 18:29:20 +02:00
dc2f840018 Prevent reboot during WaveLink installation 2024-08-07 18:01:17 +02:00
a541982ac4 Add scripts for installing drivers 2024-08-07 16:17:49 +02:00
2f950d89ba Add script for installing AMD packages 2024-08-07 15:25:12 +02:00
63a6c16d99 Add missing package for selenium 2024-08-07 15:24:56 +02:00
3304afd2e8 Ensure correct types for setting download dir 2024-08-07 15:24:37 +02:00
181426ee41 Add a script for installing ASUS packages 2024-08-07 14:40:24 +02:00
bed24acbe3 Refactor browser automation scripts 2024-08-07 14:28:26 +02:00
6f93edea54 Install components for browser automation 2024-08-07 13:36:31 +02:00
6c193590b1 Add functions for installing choco and winget packages 2024-08-07 13:22:12 +02:00
d64feb232a Add a function for checking winget packages 2024-08-07 13:18:29 +02:00
7177fa97ca Enhance the winget install check 2024-08-07 03:34:12 +02:00
0b28364280 Add a function for checking NuGet packages 2024-08-07 03:23:59 +02:00
0be3410151 Fix non-functioning script 2024-08-07 03:23:21 +02:00
cf7c776e55 Install PowerShell modules after removing old copy 2024-08-06 18:19:33 +02:00
7df03b263b Silence unnecessary output 2024-08-06 17:07:57 +02:00
faeac1fdb9 Add a separate function for executing software actions 2024-08-06 16:54:11 +02:00
6e3e8eb4b3 Add a function for checking whether a setup is being run 2024-08-06 14:32:37 +02:00
40a422bb8e Determine software script name properly 2024-08-06 12:21:48 +02:00
48f0097c45 Fix incorrect path 2024-08-06 12:21:00 +02:00
faecb6cd53 Fix incorrectly imported modules 2024-08-06 11:39:57 +02:00
e03d0c6630 Fix incorrect XPaths 2024-08-06 11:39:48 +02:00
4f17c95487 Set the name of the setup user properly 2024-08-06 10:22:50 +02:00
6997a800b9 Add scripts for installing essential software 2024-08-06 00:04:02 +02:00
348b1a00bc Add a function for removing desktop icons 2024-08-06 00:02:07 +02:00
6268eab1e5 Add an option for showing file extensions 2024-08-05 23:22:22 +02:00
901262b8a7 Ensure the environment variables are always set properly 2024-08-05 23:09:58 +02:00
2bb3007006 Fix incorrect argument initialization 2024-08-05 23:08:36 +02:00
3708aa8e2b Ensure Arguments contains an object 2024-08-05 22:51:29 +02:00
b566d63ef2 Fix argument redirection 2024-08-05 22:49:44 +02:00
e7ced15185 Fix non-functioning script 2024-08-05 22:45:17 +02:00
b1544a6a60 Allow running further installer actions within an installer 2024-08-05 22:29:20 +02:00
5ba6a48eac Refactor windows configuration script 2024-08-05 20:07:39 +02:00
8564396d86 Refactor software script environment 2024-08-05 00:07:41 +02:00
b37815498a Set CONFIG_MODULE to full path by default 2024-08-02 01:57:31 +02:00
e10a91094e Enter next stage after configuration 2024-08-02 01:44:56 +02:00
95f65458eb Make config module persist in WSL 2024-08-02 00:47:33 +02:00
f46d2da997 Ensure arguments are passed to fish 2024-08-01 23:36:03 +02:00
1c29cdd89c Fix installer script structure 2024-08-01 23:34:35 +02:00
34108f78d8 Declare InstallerAction in a separate file 2024-08-01 22:52:51 +02:00
5f8b5252ef Ensure necessary modules are imported 2024-08-01 21:49:46 +02:00
c0b0cc2556 Import SetupStage enum into installation module 2024-08-01 21:32:33 +02:00
6c7bb9c268 Pause on error by default 2024-08-01 21:08:31 +02:00
985661a91e Display the software name during installation 2024-08-01 21:06:03 +02:00
8295a41574 Fix non-functioning command 2024-08-01 20:34:55 +02:00
96ba53799e Remove non-existent script 2024-08-01 19:10:10 +02:00
9b6cdd24e5 Nest installation functions in a module 2024-08-01 19:02:12 +02:00
5bb1a19a1f Install winget if nonexistent 2024-08-01 18:58:33 +02:00
fe11ddf570 Use the new commands 2024-08-01 18:36:47 +02:00
a2d0c89424 Add dedicated commands for checking software 2024-08-01 18:35:45 +02:00
f518ea07da Add a script for managing software 2024-08-01 18:24:26 +02:00
466813fe39 Fix nix installation check 2024-08-01 18:05:10 +02:00
9a42fba7f7 Make nix visible to WSL 2024-08-01 18:03:48 +02:00
3a5e8556c5 Add a function for getting the users to create 2024-08-01 17:56:42 +02:00
603fbdfe46 Rename the file containing software functions 2024-08-01 17:38:59 +02:00
05201f1108 Configure clock for dualboot systems 2024-08-01 16:32:03 +02:00
e868255996 Enter configuration stage if nix exists 2024-08-01 16:28:48 +02:00
73ca5018b2 Reboot WSL to pick up nix 2024-08-01 16:25:18 +02:00
c7d19102cf Add a function for retrieving nix options 2024-08-01 16:12:58 +02:00
50951b31ff Make CONFIG_MODULE available in WSL 2024-08-01 14:39:44 +02:00
ded0d4efd0 Install WSL and nix by default 2024-08-01 14:06:40 +02:00
040f20edce Rename config module file 2024-08-01 12:39:27 +02:00
203da2ae3f Reword log messages 2024-08-01 12:32:43 +02:00
8ad65912be Fix syntax error 2024-08-01 12:31:25 +02:00
5ff8639898 Import scripting module inside the PowerManagement module 2024-08-01 12:24:28 +02:00
12c449eb7c Add scripts for updating windows 2024-08-01 02:59:32 +02:00
ee077e0765 Fix errors in the PowerManagement module 2024-08-01 02:19:05 +02:00
fab3c239f6 Fix syntax error 2024-08-01 01:22:23 +02:00
5e2dc315a8 Fix incorrect documentation comment 2024-07-31 23:10:21 +02:00
d7cc1a53bf Fix handling of setup stages 2024-07-31 22:33:37 +02:00
2a7adfeba3 Set registry values properly 2024-07-31 22:33:16 +02:00
595b7cb874 Display console output of hooks 2024-07-31 22:18:47 +02:00
9a3c5f6b32 Store stages using their name 2024-07-31 16:52:49 +02:00
467ad0caab Refactor the installation loop architecture 2024-07-31 16:25:32 +02:00
73c0648611 Implement install loop properly 2024-07-31 16:15:09 +02:00
afb2d1be65 Implement the windows installation in a loop 2024-07-31 16:09:50 +02:00
401aa9e41c Recreate script to first install pwsh 2024-07-31 15:52:41 +02:00
9d79d4deb3 Normalize script formatting 2024-07-31 15:52:23 +02:00
e84b2f9583 Add a script for managing setup options 2024-07-31 15:42:02 +02:00
bb3ea5d555 Add a script for rebooting the computer 2024-07-31 15:41:45 +02:00
be4ee90f7d Add a separate script for injecting values into scripts 2024-07-31 14:55:00 +02:00
90675f3e14 Add a script for checking for installed choco packages 2024-07-31 14:53:21 +02:00
1012705160 Copy pwsh to newly setup windows systems 2024-07-31 14:47:42 +02:00
ef773d993c Rename old windows installation script 2024-07-30 18:47:01 +02:00
ce0a00ee26 Add a function for executing hooks 2024-07-30 18:34:19 +02:00
ebf89c0f31 Load dualboot sizes from nix 2024-07-29 01:44:12 +02:00
9ea7d31053 Nest Windows setup in a function 2024-07-28 20:52:07 +02:00
40b0bafcac Make nix config accessible in scripts 2024-07-28 12:16:01 +02:00
2e7be10a9c Run installer script after initialization 2024-07-27 23:18:04 +02:00
800261791e Pass boot script path via env variable 2024-07-27 18:59:47 +02:00
150775e068 Relocate powershell profile script 2024-07-16 14:06:19 +02:00
5e5bb3e5df Streamline aliae installation 2024-07-16 03:30:14 +02:00
2979138e66 Replace packages with too frequent updates 2024-06-23 19:57:12 +02:00
be8a01eeef Skip installation of vscode insiders versions 2024-04-06 16:30:11 +02:00
eacf8f9eb9 Install zoxide 2024-04-04 17:54:18 +02:00
ef8b83b102 Ensure vscode is in path 2024-04-01 20:10:36 +02:00
c3c8d5719d Install WingetUI 2024-04-01 20:10:07 +02:00
855715059e Ensure to run bash scripts using bash 2024-04-01 17:02:49 +02:00
6128c78eba Install Ext4Fsd for dual boot computer 2024-03-30 21:49:46 +01:00
8239b01fd6 Pre-install vscode extensions 2024-03-25 19:54:26 +01:00
b834b7d0f6 Disable Dynamic Lighting by default 2024-03-24 20:18:29 +01:00
b273eeec68 Skip unpacking of existing files 2024-03-24 18:17:18 +01:00
ab17fa75d6 Move cleanup scripts to proper location 2024-03-24 18:16:29 +01:00
87a83600db Overwrite existing files when unpacking osu! 2024-03-24 18:09:22 +01:00
17a18866f5 Allow addition of custom restoration arguments 2024-03-24 18:08:54 +01:00
c781134141 Kill all processes related to LGHub during restore 2024-03-24 17:47:41 +01:00
72615ab002 Only back up installed Visual Studio versions 2024-03-24 17:37:13 +01:00
6e806af2a0 Add further Visual Studio versions 2024-03-24 17:34:25 +01:00
22f3932ada Only restore previously installed VS versions 2024-03-24 17:17:57 +01:00
94024951ff Prevent unnecessary output 2024-03-24 16:56:55 +01:00
7ae676141d Add missing import 2024-03-24 16:54:36 +01:00
1b87ddfabb Ensure the KnownFolders module is imported before use 2024-03-24 15:18:01 +01:00
09939d2ee9 Fix Logitech G Hub scripts 2024-03-24 13:47:53 +01:00
bf8f9c1487 Ignore inexistent POSH_THEME variable 2024-03-24 03:17:50 +01:00
0817849ef1 Unser POSH_THEME variable during installation 2024-03-24 02:51:22 +01:00
3d10553d9a Make more descriptive prompt 2024-03-24 02:10:45 +01:00
745157dbc0 Fix accessability of variables 2024-03-24 02:06:16 +01:00
b3b99fe422 Fix syntax errors 2024-03-24 02:04:43 +01:00
060ae06753 Fix inaccessible variable 2024-03-24 01:59:39 +01:00
fed96c7cdf Update code accordingly 2024-03-24 01:10:44 +01:00
f91980ce9a Create ExpandString values by default 2024-03-24 01:10:00 +01:00
3c60befb27 Make aliae work out of the box 2024-03-23 23:27:06 +01:00
77d779be02 Fix invalid syntax 2024-03-23 23:26:22 +01:00
29d74b3a27 Fix infinite loop 2024-03-23 22:38:11 +01:00
04e8ae1197 Refactor switch statements 2024-03-23 21:51:19 +01:00
67fc0770f3 Ensure prerequisites are installed at the very beginning 2024-03-23 17:53:43 +01:00
19900bac81 Pause scripts on errors 2024-03-23 17:32:45 +01:00
ba5c46a884 Silence unnecessary errors 2024-03-23 17:31:16 +01:00
c3bcd60a10 Move file lists to proper location 2024-03-23 17:29:07 +01:00
3f905b0753 Move file lists to resource directory 2024-03-23 17:18:38 +01:00
9fad7ed0de Print a warning concerning backup preservation 2024-03-23 16:34:08 +01:00
1344f287aa Remove unnecessary software 2024-03-23 16:15:08 +01:00
d6cb9c5f70 Log further messages 2024-03-23 15:59:55 +01:00
60f090349c Lead user through the setup properly 2024-03-23 15:57:25 +01:00
6d02e1bcb9 Rename user stages 2024-03-23 15:54:15 +01:00
7c1befdef4 Refactor user creation process 2024-03-23 15:54:09 +01:00
04c6ef125f Refactor user creation script 2024-03-23 15:47:31 +01:00
0246633c68 Allow creation of multiple users 2024-03-23 15:38:06 +01:00
f1310bafdf Set the user name by default 2024-03-23 15:29:37 +01:00
6fcb7fb4a8 Represent numbers as hex if applicable 2024-03-23 15:27:40 +01:00
9bfb2f200a Install prerequisites during backups 2024-03-23 15:16:12 +01:00
5245bb9007 Install Windows based on installation stages 2024-03-23 15:09:58 +01:00
f6baf1a9dc Install script prerequisites automatically 2024-03-23 14:29:59 +01:00
c5a401f7eb Refactor Windows setup scripts 2024-03-23 13:45:15 +01:00
a0e9c03525 Install Powershell profile statements globally 2024-03-23 04:55:05 +01:00
c3ce9c0ba9 Remove unnecessary parameters 2024-03-23 01:45:14 +01:00
b95499730d Remove unnecessary script calls 2024-03-23 01:34:22 +01:00
4c66d01f00 Call Scheduled Tasks using scripts 2024-03-23 01:27:49 +01:00
98acbc4817 Remove new line characters from scheduled tasks 2024-03-23 00:57:44 +01:00
d66254ec89 Fix typos 2024-03-23 00:29:34 +01:00
b1d9915786 Fix broken scheduled tasks 2024-03-23 00:10:12 +01:00
5d914ce33f Refactor the creation of scheduled tasks 2024-03-22 18:28:37 +01:00
24febb32f8 Leave entrypoint uninitialized if not determinable 2024-03-22 17:55:43 +01:00
de8999c361 Fix run condition 2024-03-22 16:15:37 +01:00
5290d3283a Replace C# invocations with Invoke-Command 2024-03-22 15:25:00 +01:00
5e6eebf8ad Fix non-functioning events 2024-03-22 14:51:17 +01:00
30f98c4cb1 Wait for wmi event using powershell 2024-03-22 12:19:05 +01:00
5f02a650ad Await custom scheduled tasks 2024-03-22 10:59:24 +01:00
ba058911e9 Store scheduled task in separate scripts 2024-03-22 10:32:53 +01:00
d649525722 Drop use of redundant constant value 2024-03-22 10:20:03 +01:00
9ab5e776d9 Move user creation script 2024-03-22 09:26:54 +01:00
a5eb0f1d87 Silence unnecessary output 2024-03-22 00:20:47 +01:00
ab50077d04 Ensure the aliae config directory exists 2024-03-22 00:19:51 +01:00
6aaff564cc Add missing import 2024-03-21 17:21:02 +01:00
875120ccff Inquire on errors 2024-03-21 16:27:57 +01:00
bfad7f1228 Automatically determine the entrypoint during windows install 2024-03-21 16:07:29 +01:00
b1aa93d420 Create proper relative paths by default 2024-03-21 16:05:55 +01:00
a8a144c147 Install aliae initially 2024-03-21 13:35:21 +01:00
7102320760 Set up aliae on windows properly 2024-03-21 13:33:00 +01:00
ddc255221b Remove duplicate declaration 2024-03-21 01:52:06 +01:00
e4e9dd4191 Prevent PowerShell variable name collision 2024-03-21 00:29:38 +01:00
181a82fd24 Streamline PowerShell profile installation 2024-03-21 00:29:09 +01:00
356611b169 Simplify aliae installation 2024-03-21 00:15:51 +01:00
ce44de21d7 Remove redundant script 2024-03-20 23:57:24 +01:00
dab33f679b Allow global installation of powershell configs 2024-03-20 23:49:21 +01:00
2a8430e388 Implicitly configure oh-my-posh theme 2024-03-20 23:13:17 +01:00
ea1078e5db Add a script for running bash from powershell 2024-03-20 21:44:02 +01:00
4eab5617b3 Create common pwsh installation script 2024-03-20 21:34:47 +01:00
3ac1ce8c66 Rename powershell util script 2024-03-20 18:56:16 +01:00
734e463df4 Fix typo 2024-03-20 18:07:43 +01:00
ce6fb59ff5 Add missing trailing EOL 2024-03-20 17:09:34 +01:00
7fa3450984 Fix incorrect script 2024-03-20 17:03:43 +01:00
90f85e227d Install aliae config using common script 2024-03-20 17:03:14 +01:00
5055eddb82 Add scripts for editing the powershell profile 2024-03-20 16:33:18 +01:00
638d241973 Add aliae to all OSes 2024-03-20 16:00:44 +01:00
8339cb3006 Detect entrypoint automatically 2024-03-16 01:04:56 +01:00
cd6d5fcd9b Fix broken installer call 2024-03-13 22:30:14 +01:00
86aa29b66c Fix installation of winget 2024-03-13 21:56:48 +01:00
39ba5f63bc Fix incorrect script path 2024-03-13 20:57:46 +01:00
2f4222ecdb Fix incorrect winget installation statement 2024-03-13 20:07:38 +01:00
d67a1d5be9 Run winget installation using pwsh 2024-03-13 19:35:06 +01:00
2cfe755334 Install XAML before installing winget 2024-03-13 11:51:52 +01:00
f9abc3801a Fix non-functioning statement 2024-03-13 11:16:24 +01:00
f026943763 Remove unnecessary statement 2024-03-13 10:22:29 +01:00
3e3f7ae062 Ensure dependencies are installed 2024-03-13 09:38:02 +01:00
7b11234ea2 Install winget using the script 2024-03-13 09:35:27 +01:00
306d9afd50 Fix non-functioning winget install script 2024-03-13 09:34:27 +01:00
554f3c9a63 Add a script for forcibly installing winget 2024-03-13 09:06:48 +01:00
837ec6df1a Fix incorrect winget syntax 2024-03-12 15:11:26 +01:00
20acebbc7e Fix order of execution in setup script 2024-03-11 18:10:37 +01:00