Commit graph

2034 commits

Author SHA1 Message Date
29df532a87 Rename outdated script 2024-08-27 23:08:41 +02:00
208f48debe Silence errors concerning empty aliae configurations 2024-08-27 22:35:31 +02:00
080812b90a Make Operations script cross platform 2024-08-27 22:27:44 +02:00
0259a55c79 Handle OneShot tasks only on Windows 2024-08-27 21:32:49 +02:00
972fd5fd43 Add a script for managing backups 2024-08-27 21:05:51 +02:00
51106d8012 Add tools for managing aliae 2024-08-27 18:58:33 +02:00
d79eba132c Fix non-functioning aliae installation 2024-08-27 18:55:12 +02:00
bcb2845cd4 Create dedicated script for creating users 2024-08-27 17:04:17 +02:00
2da5240d3f Create dedicated script for installing software 2024-08-27 16:41:08 +02:00
7535c40a8d Prevent reading nix config multiple times 2024-08-27 14:35:04 +02:00
95b0f0994e Ensure only one user is enabled at once 2024-08-27 14:11:31 +02:00
caffde0a01 Prevent unnecessary file creation 2024-08-27 14:06:56 +02:00
b4e0ed7db8 Execute OneShot tasks in any operation 2024-08-27 14:05:16 +02:00
e828cb1988 Force the use of the managed distribution 2024-08-27 04:26:25 +02:00
3185e67a59 Initialize operation for all users 2024-08-27 04:24:29 +02:00
1b0c715514 Handle initialization in operation code 2024-08-27 04:15:37 +02:00
267ebd5c5b Execute script non-interactive during OneShot tasks 2024-08-27 03:50:08 +02:00
bd764a1429 Exit script after running OneShot task 2024-08-27 03:45:44 +02:00
9ec7145dcf Modify user after first login 2024-08-27 03:27:54 +02:00
4a2753e928 Rearm Windows Activation before creating MSAcc 2024-08-27 03:25:19 +02:00
4a4f8eeab7 Register MSAcc logon script early 2024-08-27 03:24:37 +02:00
e1b6038f4c Allow rebooting without registering setup 2024-08-27 03:11:35 +02:00
2220ca3138 Fix non-functioning NoProfile argument 2024-08-27 02:09:04 +02:00
f25e892faf Prevent unnecessary installation actions 2024-08-27 01:57:46 +02:00
9ba134d202 Only install PowerShell module if necessary 2024-08-27 01:25:32 +02:00
ea83940e39 Streamline PowerShell installation 2024-08-27 00:45:46 +02:00
6ab0df4dc8 Add further functionality to the WSL script 2024-08-27 00:38:46 +02:00
380b70322c Create a separate script for WSL interaction 2024-08-26 23:33:46 +02:00
c350a9c26b Fix recursive configuration 2024-08-25 03:58:28 +02:00
06d9de5b30 Keep Windows fixes separate 2024-08-24 16:56:29 +02:00
7eb0c61cf6 Remove WSL after operation 2024-08-24 16:52:41 +02:00
14dc6e5c28 Make distribution name unique 2024-08-24 16:41:05 +02:00
b644b0f74c Streamline WSL distribution name 2024-08-24 16:27:34 +02:00
a5f1f06ca0 Remove unused resources after user setup 2024-08-24 16:15:10 +02:00
4608c4748c Print update logs properly 2024-08-24 14:47:51 +02:00
d6daf8f85b Update incorrect path 2024-08-24 14:11:38 +02:00
5caccb6177 Determine name of setup user properly 2024-08-24 14:01:05 +02:00
26d683b4c5 Make OMP configuration platform independent 2024-08-24 13:27:48 +02:00
a6c7ea33ab Remove unnecessary loop 2024-08-24 04:24:55 +02:00
ddaafb51c9 Add missing module 2024-08-24 04:24:37 +02:00
49e18cb6ca Add a function for creating shortcuts 2024-08-24 04:18:33 +02:00
246e8a479c Allow configuring nextcloud syncs 2024-08-24 04:07:35 +02:00
6f2e9b894e Create separate option holding win users 2024-08-24 03:25:28 +02:00
e185bbe3c9 Rename Nextcloud installer 2024-08-24 01:50:07 +02:00
71fec8eccf Add file system driver for dual boot 2024-08-24 01:41:09 +02:00
46a8126298 Prevent unnecessary config evaluation 2024-08-24 01:31:39 +02:00
a9daaa9d2b Install vscode extensions by default 2024-08-24 01:16:56 +02:00
bf9757043a Load theme file from WSL properly 2024-08-24 00:59:59 +02:00
b9b192c42a Update aliae configuration script 2024-08-24 00:42:57 +02:00
e4f3abca2f Strip duplicate variables and aliases 2024-08-24 00:08:58 +02:00
c908a45eeb Install posh theme automatically 2024-08-23 23:53:48 +02:00
a3c90aa1cf Export missing function 2024-08-23 23:50:13 +02:00
703f4ac71d Install aliae by default 2024-08-23 23:46:23 +02:00
9d680cea15 Add scripts for changing aliae config 2024-08-23 23:44:51 +02:00
975430d97e Fix compatibility with mixed new line characters 2024-08-23 23:44:23 +02:00
d5c45fafc7 Add a script for installing aliae 2024-08-23 22:38:28 +02:00
c8aba026e0 Fetch config from proper section 2024-08-23 19:24:49 +02:00
2af3a6de6f Fix inheritance of user config 2024-08-23 18:28:20 +02:00
b73b4522b2 Set user info during git setup 2024-08-23 02:01:16 +02:00
b0fb27f638 Make all config scripts platform independent 2024-08-23 01:57:53 +02:00
5f9815d1d9 Allow leaving aliases unspecified 2024-08-23 01:52:25 +02:00
7fc0a0235c Make scripts platform independent 2024-08-23 01:52:04 +02:00
6b1aee97a6 Add scripts for configuring git 2024-08-23 01:43:26 +02:00
1f20af3bc5 Configure software implicitly 2024-08-23 01:41:32 +02:00
39600c813f Skip profile creation for PinnedItem 2024-08-22 23:55:41 +02:00
fcc0529c1b Allow skipping powershell module registration 2024-08-22 23:55:00 +02:00
ac4b6e0700 Remove user profile of OneShot user 2024-08-22 23:12:11 +02:00
56463a4e30 Add missing OneShotTask declaration 2024-08-22 20:41:30 +02:00
bc56474a16 Fix infinite loop 2024-08-22 20:41:17 +02:00
e294564e92 Fix handling empty error messages 2024-08-22 20:12:18 +02:00
3ee928c081 Add choco to the profile of the setup user 2024-08-22 13:46:55 +02:00
9bd014e2ce Fix incorrect typings 2024-08-22 11:11:12 +02:00
34919991ae Fix permission issues when enabling Win hack 2024-08-22 11:11:00 +02:00
8e7aeb9161 Register setup script as admin 2024-08-22 11:10:39 +02:00
6b35ce6f39 Execute the entire installer using live scripts 2024-08-21 23:21:32 +02:00
596bca0b4e Streamline the creation of users 2024-08-21 18:34:18 +02:00
1c458f8004 Replace osk with cmd during debugging 2024-08-21 18:33:41 +02:00
c0f2c25ef6 Prevent pauses in OneShot tasks 2024-08-21 18:28:50 +02:00
93ae3c8e3e Print commands in debug mode 2024-08-21 18:28:08 +02:00
e6f8bdc774 Run OneShot tasks with dedicated user 2024-08-21 18:27:47 +02:00
f468804c95 Add function for generating startup command 2024-08-21 18:26:58 +02:00
682571eeba Allow registering startup script for the default user 2024-08-21 18:20:11 +02:00
18abc9e499 Prevent unnecessary errors during WSL execution 2024-08-21 14:08:26 +02:00
31e3c51f97 Register WSL before running OneShot tasks 2024-08-21 03:37:44 +02:00
fdeb84f42b Overwrite broken module 2024-08-21 03:20:37 +02:00
8fb126a091 Prevent initialization of nested operations 2024-08-21 03:18:31 +02:00
c2d494f151 Improve log messages of OneShot tasks 2024-08-21 02:02:30 +02:00
8c12cc6b84 Retry Linux path conversion for errors 2024-08-20 00:20:33 +02:00
5a6dd5414e Fix typo 2024-08-20 00:20:07 +02:00
b17d758a94 Fix broken signature of Restart-Intermediate 2024-08-19 12:07:26 +02:00
4f75ddbfea Report unexpected path conversions 2024-08-19 02:50:41 +02:00
be4c00e54a Load missing path 2024-08-19 02:50:19 +02:00
c68b153401 Ensure error file can be read from 2024-08-19 02:24:45 +02:00
f136ad35ea Streamline OneShot task handler 2024-08-19 02:24:30 +02:00
76da967793 Simplify script registration 2024-08-19 02:24:13 +02:00
8a59b54295 Fix broken regedit paths 2024-08-19 01:38:25 +02:00
141b8290da Allow registering reboots for users 2024-08-19 01:37:14 +02:00
61af290724 Improve log messages of updates 2024-08-18 12:20:21 +02:00
660c33a843 Remove unnecessary command 2024-08-18 10:24:15 +02:00
8ec6015817 Fix time for QEMU VMs 2024-08-18 09:35:16 +02:00
fb0a24bb6c Remove unnecessary desktop icons 2024-08-18 09:25:23 +02:00
1c3bffce42 Add a timeout for the reWASD downloader 2024-08-18 09:05:04 +02:00
5a6d46153f Allow setting a timeout for clicking download buttons 2024-08-18 09:04:42 +02:00
11ae127dba Emit errors concerning WSL commands 2024-08-17 13:51:10 +02:00
9e716bce4f Emit errors using Write-Error 2024-08-17 13:49:21 +02:00
8d7835a8aa Convert Argument to string explicitly 2024-08-16 23:03:19 +02:00
55043420aa Ignore unfinished browser downloads 2024-08-16 17:57:22 +02:00
530f6d1a34 Install powershell modules for all users 2024-08-16 16:43:30 +02:00
dd78af2f54 Fix typos 2024-08-16 16:10:09 +02:00
6fd2016c39 Install AutoHotkey as preparation 2024-08-16 15:22:09 +02:00
c5bb953dc0 Allow running live scripts in debug mode 2024-08-16 15:21:41 +02:00
1701213a77 Generate env variables using shorthand scripts 2024-08-16 15:16:56 +02:00
2034f5c9f6 Allow running installation in debug mode 2024-08-16 15:16:28 +02:00
4e97645eea Refactor winget check for rare issue 2024-08-16 15:04:37 +02:00
050221da47 Disable Windows Update reboot only as admin 2024-08-16 14:35:35 +02:00
16560270a7 Add a function for queueing startup commands 2024-08-15 18:34:48 +02:00
38c37c3564 Hide output of DISM commands 2024-08-15 13:57:15 +02:00
0605d9bcb0 Ensure website is loaded before download 2024-08-15 02:42:00 +02:00
48279e13ad Prevent Jellyfin from rebooting 2024-08-15 02:22:07 +02:00
51f352f095 Improve handling of slow websites 2024-08-14 18:47:29 +02:00
fab0da1d65 Fix potential CRC errors 2024-08-14 18:46:42 +02:00
1fbc33cf88 Ensure auto reboot is disabled properly 2024-08-12 21:32:53 +02:00
d37cd11acd Disable auto reboot by default 2024-08-12 01:27:50 +02:00
9c7729ce56 Add methods for managing auto restart feature 2024-08-12 01:23:42 +02:00
b1e4560337 Install Wave Link first 2024-08-11 18:27:16 +02:00
8ad456c0a3 Throw an error when failing to load config 2024-08-11 18:27:06 +02:00
b4be84c827 Fix incorrect script path 2024-08-10 20:37:10 +02:00
a2aefa515c Allow leaving install action unspecified 2024-08-10 19:27:56 +02:00
b48821eeff Retrieve registry value properly 2024-08-10 19:26:53 +02:00
f5d971922a Add scripts for installing git 2024-08-10 15:28:10 +02:00
bc8f73b185 Remove unnecessary code 2024-08-10 15:24:15 +02:00
6dba078a44 Add a function for removing the RunOnce key 2024-08-10 15:24:04 +02:00
3ad0fcf95e Set user groups properly 2024-08-10 15:23:38 +02:00
4f2781b154 Configure MS accounts properly 2024-08-10 15:21:13 +02:00
6ba58ee07e Queue next user after configuration finished 2024-08-10 15:20:36 +02:00
17939bee8c Disable UAC after logging in MS account 2024-08-10 15:19:14 +02:00
e2013f8db5 Enable OneShot listener for MS accounts 2024-08-10 15:18:10 +02:00
d62ea6ffaa Set timezone automatically 2024-08-10 15:17:21 +02:00
99dd620cc8 Prevent variable overwrite 2024-08-10 15:16:57 +02:00
9ad16b14fc Register installer script after disabling UAG 2024-08-10 15:16:27 +02:00
8268fdd29d Redirect user for configuration properly 2024-08-10 15:16:00 +02:00
ea53352de6 Determine installer action properly 2024-08-10 15:15:21 +02:00
806478db65 Redirect arguments to chocolatey properly 2024-08-10 15:13:46 +02:00
f20523c43b Fix non-functioning OneShot script 2024-08-10 15:13:20 +02:00
270854f435 Fix oneshot task execution 2024-08-10 06:11:55 +02:00
f70cad941f Allow removing the OneShot listener 2024-08-10 05:19:24 +02:00
a87ea25c15 Remove duplicate code 2024-08-10 05:17:08 +02:00
5aa19c89e9 Fix typo 2024-08-10 03:57:37 +02:00
61d610f194 Fix copy paste error 2024-08-10 03:57:26 +02:00
a219a15a5c Allow skipping the User parameter 2024-08-10 03:40:37 +02:00
091ce4ba61 Fix incorrect script path 2024-08-10 03:13:13 +02:00
94d6ffe6f9 Fix broken scripts 2024-08-10 01:50:52 +02:00
89d43c1599 Remove unnecessary confirmation dialogue 2024-08-10 00:23:47 +02:00
015f7d2901 Add a task for disabling UAC 2024-08-10 00:23:37 +02:00
4ebf214acc Force creation of sudo alias 2024-08-10 00:22:46 +02:00
ecb34288cc Allow execution of OneShot tasks 2024-08-10 00:22:30 +02:00
9e7ed6e85e Ensure CONFIG_MODULE is resolved 2024-08-09 23:23:55 +02:00
bd2dc90463 Add dedicated functions for creating startup scripts 2024-08-09 23:23:29 +02:00
c42b30b52e Change login message 2024-08-09 22:11:12 +02:00
c0748548e1 Set up shared WSL 2024-08-09 16:02:33 +02:00
b034dfd53d Install updates only as admin 2024-08-09 16:02:24 +02:00
7a99482bc8 Disable boot message only as admin 2024-08-09 16:02:00 +02:00
505ee2ad34 Add a function for allowing user access 2024-08-09 15:56:16 +02:00
92e4889417 Fix broken reboot registration 2024-08-09 15:49:36 +02:00
f01409fcd5 Ensure the script path is detected properly 2024-08-09 14:45:50 +02:00
a460608b10 Allow automatic script execution for MS accounts 2024-08-09 14:45:29 +02:00
c789bd6c72 Reorder winget arguments 2024-08-09 14:45:05 +02:00
29e2703162 Allow registering reboot for the default user 2024-08-09 14:44:57 +02:00
ec7fc8dd6e Add a dedicated function for disabling boot message 2024-08-09 13:35:12 +02:00
eb6ad4780e Implement root install loop using a switch 2024-08-09 13:34:46 +02:00
b8086193bd Force computer reboots 2024-08-09 04:42:55 +02:00
25d4810147 Add scripts for controlling UAC 2024-08-09 04:29:26 +02:00
dee942b881 Set displayname of all users 2024-08-09 04:20:00 +02:00
cb2735b909 Login to users for configuration 2024-08-09 04:19:49 +02:00
c79d632639 Skip PWSH_PATH if undefined 2024-08-09 04:08:22 +02:00
e768c55e58 Fix typo 2024-08-09 03:38:10 +02:00
5e4e7d4939 Add missing setup stage 2024-08-09 03:02:25 +02:00
acb22f8a89 Make Get-Users output explicit 2024-08-09 03:02:17 +02:00
849d8387cc Allow displaying a boot message 2024-08-09 02:59:06 +02:00
c631882854 Disable users by default 2024-08-09 02:58:01 +02:00
62af6e393c Add a stage for configuring users 2024-08-09 02:27:24 +02:00
6b7e30c035 Detect installation properly 2024-08-09 02:24:59 +02:00
37b252d578 Remove unnecessary icon 2024-08-09 02:23:56 +02:00
91d0d635a1 Add support for the sudo command 2024-08-09 02:22:45 +02:00
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
aa14dd7beb Suppress unnecessary output 2024-08-08 22:24:41 +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
4b9ad41939 Make config script platform independent 2024-08-08 18:21:16 +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
6cd1cbb541 Add functions for retrieving attributes 2024-08-08 14:45:34 +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
9fb7c199d1 Skip scope argument by default 2024-08-08 14:22:13 +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
2943621d6c Apply the error action globally 2024-08-08 14:08:38 +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
ffcda8584d Enure features for PinnedItem are installed 2024-08-08 05:21:21 +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
b2619ea7a6 Fix incorrect parameter access 2024-08-08 05:03:24 +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
458c46575c Allow custom winget arguments 2024-08-08 04:29:00 +02:00
ddfbe17a49 Improve winget function 2024-08-08 04:28:21 +02:00
e29e36acf7 Add missing function 2024-08-08 04:20:11 +02:00
b92173fa25 Refactor browser scripts 2024-08-08 03:32:03 +02:00
29b0de86dc Ensure Selenium is imported 2024-08-08 02:59:02 +02:00
16f3c72eb3 Allow skipping the Action argument 2024-08-08 02:56:28 +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
a8929f0707 Allow installing modules native only 2024-08-08 02:28:23 +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
875013b104 Configure user only outside of setup 2024-08-07 23:30:29 +02:00
1be771628b Add a script for installing Oh My Posh 2024-08-07 23:22:04 +02:00
7fed854044 Fix incorrect installation filter 2024-08-07 23:20:28 +02:00
ec5ccfba2d Fix profile script for individual profiles 2024-08-07 23:18:44 +02:00
e9be3db64e Show messages if packages are installed 2024-08-07 23:18:23 +02:00
64fe00e42f Fix incorrect package check 2024-08-07 23:17:07 +02:00
834883b5de Refactor default winget parameters 2024-08-07 22:56:42 +02:00
5e2e43735e Add scripts for installing PS modules 2024-08-07 22:55:25 +02:00
dd902e4859 Allow skipping PowerShell profile files 2024-08-07 22:25:42 +02:00
98db57981c Resolve dependency loop 2024-08-07 21:54:58 +02:00
3dcaa9b1bc Remove unnecessary statement 2024-08-07 21:53:26 +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