Commit graph

1812 commits

Author SHA1 Message Date
Manuel Thalmann a5de8a42c4 Set displayname of all users 2024-08-09 04:20:00 +02:00
Manuel Thalmann 461e532ec2 Login to users for configuration 2024-08-09 04:19:49 +02:00
Manuel Thalmann 145ea5b2f2 Skip PWSH_PATH if undefined 2024-08-09 04:08:22 +02:00
Manuel Thalmann 6b8407ba27 Fix typo 2024-08-09 03:38:10 +02:00
Manuel Thalmann f7750e0d17 Add missing setup stage 2024-08-09 03:02:25 +02:00
Manuel Thalmann e7d6bbef84 Make Get-Users output explicit 2024-08-09 03:02:17 +02:00
Manuel Thalmann 166f84c4c9 Allow displaying a boot message 2024-08-09 02:59:06 +02:00
Manuel Thalmann b4f74cba0e Disable users by default 2024-08-09 02:58:01 +02:00
Manuel Thalmann ff25d06ebd Add a stage for configuring users 2024-08-09 02:27:24 +02:00
Manuel Thalmann 64813888fd Detect installation properly 2024-08-09 02:24:59 +02:00
Manuel Thalmann 81ae348ea1 Remove unnecessary icon 2024-08-09 02:23:56 +02:00
Manuel Thalmann fafe6e6d9b Add support for the sudo command 2024-08-09 02:22:45 +02:00
Manuel Thalmann 905d3e4da8 Fix renaming user 2024-08-09 02:20:27 +02:00
Manuel Thalmann 24ba572be5 Make specifying PWSH_PATH optional 2024-08-09 02:12:27 +02:00
Manuel Thalmann 56230149d8 Show error properly 2024-08-09 02:00:18 +02:00
Manuel Thalmann 4d467c87c3 Fix typo 2024-08-09 01:53:59 +02:00
Manuel Thalmann 7a44096647 Remove code duplication 2024-08-09 01:33:04 +02:00
Manuel Thalmann f724aa2156 Remove unnecessary console output 2024-08-09 01:22:51 +02:00
Manuel Thalmann 7e1544f091 Fix incorrect file paths 2024-08-09 00:17:05 +02:00
Manuel Thalmann 2fc9a618f1 Fix incorrect hardware name 2024-08-09 00:03:45 +02:00
Manuel Thalmann 78f0d62657 Reorder installation steps 2024-08-08 23:03:10 +02:00
Manuel Thalmann a5c44dc34e Suppress unnecessary output 2024-08-08 22:24:41 +02:00
Manuel Thalmann 939ca1adf1 Refactor the wsl installation check 2024-08-08 22:21:49 +02:00
Manuel Thalmann f615764c86 Ensure WSL Ubuntu is installed 2024-08-08 22:08:13 +02:00
Manuel Thalmann eacf4f69fc Make config script platform independent 2024-08-08 18:21:16 +02:00
Manuel Thalmann 727faa2538 Leave groups unspecified 2024-08-08 17:50:32 +02:00
Manuel Thalmann b4586ff520 Add users during installation 2024-08-08 17:49:43 +02:00
Manuel Thalmann 13faeaa70e Add functions for retrieving attributes 2024-08-08 14:45:34 +02:00
Manuel Thalmann 7205720151 Install Oh My Posh system wide 2024-08-08 14:23:15 +02:00
Manuel Thalmann a9c904a110 Fix typo 2024-08-08 14:22:22 +02:00
Manuel Thalmann 9d9a59d424 Skip scope argument by default 2024-08-08 14:22:13 +02:00
Manuel Thalmann 0848562b04 Fix incorrect file paths 2024-08-08 14:21:55 +02:00
Manuel Thalmann 58a9e39075 Configure NVS after installation 2024-08-08 14:09:20 +02:00
Manuel Thalmann 02b1b49502 Refactor app association script 2024-08-08 14:09:07 +02:00
Manuel Thalmann cde3ea5c96 Fix typo 2024-08-08 14:08:48 +02:00
Manuel Thalmann a930a28d4c Apply the error action globally 2024-08-08 14:08:38 +02:00
Manuel Thalmann 5e0de1abd2 Move PinnedItem script to proper location 2024-08-08 14:04:51 +02:00
Manuel Thalmann 666996faf3 Add notes to installation script 2024-08-08 14:03:15 +02:00
Manuel Thalmann 36c6dadb43 Add a script for installing LGHub 2024-08-08 13:25:21 +02:00
Manuel Thalmann 6fb4e567fd Reorder installation steps 2024-08-08 13:17:14 +02:00
Manuel Thalmann bbfe5a9304 Reload env after installing git 2024-08-08 12:18:04 +02:00
Manuel Thalmann 29498e8646 Enure features for PinnedItem are installed 2024-08-08 05:21:21 +02:00
Manuel Thalmann 756d300982 Install features using chocolatey 2024-08-08 05:20:58 +02:00
Manuel Thalmann adb2d7210e Ensure git is installed 2024-08-08 05:14:31 +02:00
Manuel Thalmann 9500a20b3f Fix broken XML document creation 2024-08-08 05:04:59 +02:00
Manuel Thalmann ea6cdb8118 Fix incorrect parameter access 2024-08-08 05:03:24 +02:00
Manuel Thalmann 2f7ad344db Fix incorrect path 2024-08-08 05:01:45 +02:00
Manuel Thalmann 8635b1c94a Add a stage for creating users 2024-08-08 04:38:40 +02:00
Manuel Thalmann 07a47ea47d Add scripts for all remaining apps 2024-08-08 04:36:35 +02:00
Manuel Thalmann 0cbe6e1531 Allow custom winget arguments 2024-08-08 04:29:00 +02:00
Manuel Thalmann 4547ffb5fc Improve winget function 2024-08-08 04:28:21 +02:00
Manuel Thalmann e564b27d4a Add missing function 2024-08-08 04:20:11 +02:00
Manuel Thalmann f2429c859d Refactor browser scripts 2024-08-08 03:32:03 +02:00
Manuel Thalmann 63139c0ebb Ensure Selenium is imported 2024-08-08 02:59:02 +02:00
Manuel Thalmann 4487ddbd28 Allow skipping the Action argument 2024-08-08 02:56:28 +02:00
Manuel Thalmann 6dfd0c92d4 Rename all old installation scripts 2024-08-08 02:56:13 +02:00
Manuel Thalmann ed201ef21c Remove Firefox taskbar icon 2024-08-08 02:29:09 +02:00
Manuel Thalmann 8328fda747 Allow removing task bar icons 2024-08-08 02:28:40 +02:00
Manuel Thalmann 57a14d11e8 Allow installing modules native only 2024-08-08 02:28:23 +02:00
Manuel Thalmann 44aa6f78bc Rename old LGHub script 2024-08-08 02:27:39 +02:00
Manuel Thalmann 9f8f50976a Rename PuTTY script 2024-08-08 00:51:45 +02:00
Manuel Thalmann 580669a023 Add scripts for installing Tobii apps 2024-08-08 00:06:49 +02:00
Manuel Thalmann d4624d666a Copy keyboard layout to welcome screen 2024-08-07 23:53:26 +02:00
Manuel Thalmann ddd17ad5d3 Add scripts for desktop apps 2024-08-07 23:53:12 +02:00
Manuel Thalmann 5b9542dc85 Rename old Nextcloud script 2024-08-07 23:45:56 +02:00
Manuel Thalmann b757d1f47d Configure user only outside of setup 2024-08-07 23:30:29 +02:00
Manuel Thalmann 0ff77b9255 Add a script for installing Oh My Posh 2024-08-07 23:22:04 +02:00
Manuel Thalmann 511b0224b3 Fix incorrect installation filter 2024-08-07 23:20:28 +02:00
Manuel Thalmann 1240114049 Fix profile script for individual profiles 2024-08-07 23:18:44 +02:00
Manuel Thalmann d75877aa2f Show messages if packages are installed 2024-08-07 23:18:23 +02:00
Manuel Thalmann 42cabbd21b Fix incorrect package check 2024-08-07 23:17:07 +02:00
Manuel Thalmann bd26c231d2 Refactor default winget parameters 2024-08-07 22:56:42 +02:00
Manuel Thalmann 4ccafd8ec0 Add scripts for installing PS modules 2024-08-07 22:55:25 +02:00
Manuel Thalmann 7d22d086e8 Allow skipping PowerShell profile files 2024-08-07 22:25:42 +02:00
Manuel Thalmann 233c1acfb7 Resolve dependency loop 2024-08-07 21:54:58 +02:00
Manuel Thalmann 44c00938f9 Remove unnecessary statement 2024-08-07 21:53:26 +02:00
Manuel Thalmann 3e7d2956e6 Refactor chocolatey script 2024-08-07 21:50:21 +02:00
Manuel Thalmann 6e5c8fdc69 Pass arguments to software script 2024-08-07 21:37:33 +02:00
Manuel Thalmann 3d5d79a6e1 Use internal OS detection 2024-08-07 21:35:03 +02:00
Manuel Thalmann 7470d41d49 Refactor PowerShell profile script 2024-08-07 21:34:40 +02:00
Manuel Thalmann 49c900f2e0 Move scripts properly 2024-08-07 21:05:32 +02:00
Manuel Thalmann dc2b8fc7d7 Add scripts for installing PowerShell 2024-08-07 20:30:12 +02:00
Manuel Thalmann 414452c7e8 Rename PowerShell script directory 2024-08-07 19:08:13 +02:00
Manuel Thalmann 30acf9d13d Add script for installing Thunderbird 2024-08-07 18:57:27 +02:00
Manuel Thalmann 61afccc5aa Install drivers in proper phase 2024-08-07 18:54:07 +02:00
Manuel Thalmann f156b716f4 Add a script for installing WinSCP 2024-08-07 18:30:14 +02:00
Manuel Thalmann 6943ff97f9 Refactor app association script 2024-08-07 18:29:20 +02:00
Manuel Thalmann 3c3b7772c7 Prevent reboot during WaveLink installation 2024-08-07 18:01:17 +02:00
Manuel Thalmann 98e34030c2 Add scripts for installing drivers 2024-08-07 16:17:49 +02:00
Manuel Thalmann d540bac6b9 Add script for installing AMD packages 2024-08-07 15:25:12 +02:00
Manuel Thalmann f1416b3cc2 Add missing package for selenium 2024-08-07 15:24:56 +02:00
Manuel Thalmann c0c6696fa0 Ensure correct types for setting download dir 2024-08-07 15:24:37 +02:00
Manuel Thalmann c1da0ffac7 Add a script for installing ASUS packages 2024-08-07 14:40:24 +02:00
Manuel Thalmann 95acd66d85 Refactor browser automation scripts 2024-08-07 14:28:26 +02:00
Manuel Thalmann 584cee7f83 Install components for browser automation 2024-08-07 13:36:31 +02:00
Manuel Thalmann 05ae150713 Add functions for installing choco and winget packages 2024-08-07 13:22:12 +02:00
Manuel Thalmann fa447b03ee Add a function for checking winget packages 2024-08-07 13:18:29 +02:00
Manuel Thalmann f934043762 Enhance the winget install check 2024-08-07 03:34:12 +02:00
Manuel Thalmann 47822634f2 Add a function for checking NuGet packages 2024-08-07 03:23:59 +02:00
Manuel Thalmann d98045b065 Fix non-functioning script 2024-08-07 03:23:21 +02:00
Manuel Thalmann 8d7046d66d Install PowerShell modules after removing old copy 2024-08-06 18:19:33 +02:00
Manuel Thalmann 92e84534e2 Silence unnecessary output 2024-08-06 17:07:57 +02:00
Manuel Thalmann c682219542 Add a separate function for executing software actions 2024-08-06 16:54:11 +02:00
Manuel Thalmann 282d42cfa6 Add a function for checking whether a setup is being run 2024-08-06 14:32:37 +02:00
Manuel Thalmann da5ff42988 Determine software script name properly 2024-08-06 12:21:48 +02:00
Manuel Thalmann 0baec8960c Fix incorrect path 2024-08-06 12:21:00 +02:00
Manuel Thalmann 33b7e766ab Fix incorrectly imported modules 2024-08-06 11:39:57 +02:00
Manuel Thalmann 023febb1ed Fix incorrect XPaths 2024-08-06 11:39:48 +02:00
Manuel Thalmann f82f595f04 Set the name of the setup user properly 2024-08-06 10:22:50 +02:00
Manuel Thalmann 5032465415 Add scripts for installing essential software 2024-08-06 00:04:02 +02:00
Manuel Thalmann 89eb055eca Add a function for removing desktop icons 2024-08-06 00:02:07 +02:00
Manuel Thalmann fcdee2672f Add an option for showing file extensions 2024-08-05 23:22:22 +02:00
Manuel Thalmann 38dad92063 Ensure the environment variables are always set properly 2024-08-05 23:09:58 +02:00
Manuel Thalmann 567311d6b0 Fix incorrect argument initialization 2024-08-05 23:08:36 +02:00
Manuel Thalmann 3ceaaa21ee Ensure Arguments contains an object 2024-08-05 22:51:29 +02:00
Manuel Thalmann f1029c1c43 Fix argument redirection 2024-08-05 22:49:44 +02:00
Manuel Thalmann fe7a5a06c6 Fix non-functioning script 2024-08-05 22:45:17 +02:00
Manuel Thalmann d0531bc649 Allow running further installer actions within an installer 2024-08-05 22:29:20 +02:00
Manuel Thalmann 7936872854 Refactor windows configuration script 2024-08-05 20:07:39 +02:00
Manuel Thalmann f26f58f083 Refactor software script environment 2024-08-05 00:07:41 +02:00
Manuel Thalmann 6de1f20e5a Set CONFIG_MODULE to full path by default 2024-08-02 01:57:31 +02:00
Manuel Thalmann 258a4443e6 Enter next stage after configuration 2024-08-02 01:44:56 +02:00
Manuel Thalmann 66c47241b8 Make config module persist in WSL 2024-08-02 00:47:33 +02:00
Manuel Thalmann 4ed283c095 Ensure arguments are passed to fish 2024-08-01 23:36:03 +02:00
Manuel Thalmann a6ce2d3558 Fix installer script structure 2024-08-01 23:34:35 +02:00
Manuel Thalmann 1b8f1d208f Declare InstallerAction in a separate file 2024-08-01 22:52:51 +02:00
Manuel Thalmann 1568d597a2 Ensure necessary modules are imported 2024-08-01 21:49:46 +02:00
Manuel Thalmann a508c15b9f Import SetupStage enum into installation module 2024-08-01 21:32:33 +02:00
Manuel Thalmann e8963dd0a8 Pause on error by default 2024-08-01 21:08:31 +02:00
Manuel Thalmann 11e0431982 Display the software name during installation 2024-08-01 21:06:03 +02:00
Manuel Thalmann cb9e774358 Fix non-functioning command 2024-08-01 20:34:55 +02:00
Manuel Thalmann f266ccb472 Remove non-existent script 2024-08-01 19:10:10 +02:00
Manuel Thalmann 59b303a7bd Nest installation functions in a module 2024-08-01 19:02:12 +02:00
Manuel Thalmann 29d40642cf Install winget if nonexistent 2024-08-01 18:58:33 +02:00
Manuel Thalmann 49dc99c160 Use the new commands 2024-08-01 18:36:47 +02:00
Manuel Thalmann af32bf22e3 Add dedicated commands for checking software 2024-08-01 18:35:45 +02:00
Manuel Thalmann 865cf901b0 Add a script for managing software 2024-08-01 18:24:26 +02:00
Manuel Thalmann 2929025351 Fix nix installation check 2024-08-01 18:05:10 +02:00
Manuel Thalmann 317aad550a Make nix visible to WSL 2024-08-01 18:03:48 +02:00
Manuel Thalmann 5b7122ce2e Add a function for getting the users to create 2024-08-01 17:56:42 +02:00
Manuel Thalmann 8929286b02 Rename the file containing software functions 2024-08-01 17:38:59 +02:00
Manuel Thalmann 65b8e2200f Configure clock for dualboot systems 2024-08-01 16:32:03 +02:00
Manuel Thalmann d8f001dfef Enter configuration stage if nix exists 2024-08-01 16:28:48 +02:00
Manuel Thalmann ee926e163a Reboot WSL to pick up nix 2024-08-01 16:25:18 +02:00
Manuel Thalmann de2db7fb9f Add a function for retrieving nix options 2024-08-01 16:12:58 +02:00
Manuel Thalmann 480f9c38b4 Make CONFIG_MODULE available in WSL 2024-08-01 14:39:44 +02:00
Manuel Thalmann f617e1e167 Install WSL and nix by default 2024-08-01 14:06:40 +02:00
Manuel Thalmann 01360551e2 Rename config module file 2024-08-01 12:39:27 +02:00
Manuel Thalmann 381587ea8a Reword log messages 2024-08-01 12:32:43 +02:00
Manuel Thalmann 31c274f441 Fix syntax error 2024-08-01 12:31:25 +02:00
Manuel Thalmann 38cbff8180 Import scripting module inside the PowerManagement module 2024-08-01 12:24:28 +02:00
Manuel Thalmann a73d20bad2 Add scripts for updating windows 2024-08-01 02:59:32 +02:00
Manuel Thalmann eab81ef9cb Fix errors in the PowerManagement module 2024-08-01 02:19:05 +02:00
Manuel Thalmann aadc33f564 Fix syntax error 2024-08-01 01:22:23 +02:00
Manuel Thalmann ffcb4985b3 Fix incorrect documentation comment 2024-07-31 23:10:21 +02:00
Manuel Thalmann cef8ccb102 Fix handling of setup stages 2024-07-31 22:33:37 +02:00
Manuel Thalmann 322982901f Set registry values properly 2024-07-31 22:33:16 +02:00
Manuel Thalmann 7bb859d051 Display console output of hooks 2024-07-31 22:18:47 +02:00
Manuel Thalmann 4aac8101a5 Store stages using their name 2024-07-31 16:52:49 +02:00
Manuel Thalmann 78760961e2 Refactor the installation loop architecture 2024-07-31 16:25:32 +02:00
Manuel Thalmann 17d14f20ab Implement install loop properly 2024-07-31 16:15:09 +02:00
Manuel Thalmann 6f23b23bb8 Implement the windows installation in a loop 2024-07-31 16:09:50 +02:00
Manuel Thalmann 20c7571eec Recreate script to first install pwsh 2024-07-31 15:52:41 +02:00
Manuel Thalmann 737a0795b6 Normalize script formatting 2024-07-31 15:52:23 +02:00
Manuel Thalmann 619bc837ff Add a script for managing setup options 2024-07-31 15:42:02 +02:00
Manuel Thalmann 8a58990ecb Add a script for rebooting the computer 2024-07-31 15:41:45 +02:00
Manuel Thalmann d99ec62d71 Add a separate script for injecting values into scripts 2024-07-31 14:55:00 +02:00
Manuel Thalmann 8101b3a79b Add a script for checking for installed choco packages 2024-07-31 14:53:21 +02:00
Manuel Thalmann 655e05e706 Copy pwsh to newly setup windows systems 2024-07-31 14:47:42 +02:00
Manuel Thalmann 41f73d7558 Rename old windows installation script 2024-07-30 18:47:01 +02:00
Manuel Thalmann 189642c892 Add a function for executing hooks 2024-07-30 18:34:19 +02:00
Manuel Thalmann 9ed686fb90 Enable rclone services properly 2024-07-30 17:42:29 +02:00
Manuel Thalmann 461a9ca918 Disable root bash login during installation 2024-07-30 00:54:43 +02:00
Manuel Thalmann 4f76419565 Silence unnecessary output 2024-07-30 00:53:20 +02:00
Manuel Thalmann e579db60e2 Install vscode extensions for each user 2024-07-30 00:53:10 +02:00
Manuel Thalmann d63486ceb0 Fix installation of brave extensions 2024-07-30 00:52:55 +02:00
Manuel Thalmann 2e6d60c5d4 Fix non-functioning installation scripts 2024-07-30 00:52:35 +02:00
Manuel Thalmann 5910861b38 Fix missing variables 2024-07-30 00:51:50 +02:00
Manuel Thalmann 756f763cc8 Fix non-functioning command 2024-07-29 23:46:14 +02:00
Manuel Thalmann 71cdc21f2e Load dualboot sizes from nix 2024-07-29 01:44:12 +02:00
Manuel Thalmann f6e9cf9df2 Allow overwriting packages 2024-07-28 23:45:30 +02:00
Manuel Thalmann cd9a2c4250 Generate locales in proper system 2024-07-28 23:45:09 +02:00
Manuel Thalmann 1b8f8c9cd4 Execute userConfig for current user only once 2024-07-28 23:44:58 +02:00
Manuel Thalmann e0661d5c73 Prevent userConfig from execute multiple times 2024-07-28 23:43:11 +02:00
Manuel Thalmann 73a3959014 Nest Windows setup in a function 2024-07-28 20:52:07 +02:00
Manuel Thalmann 0e3fa63f90 Inherit missing variable 2024-07-28 17:01:24 +02:00
Manuel Thalmann 0c1cb7f962 Fix aliae configuration 2024-07-28 16:57:47 +02:00
Manuel Thalmann b7ee731c60 Fix broken profile creation 2024-07-28 16:57:36 +02:00
Manuel Thalmann 1f6581962a Inherit missing variables 2024-07-28 15:25:03 +02:00
Manuel Thalmann cc5860bdd2 Mark all fish scripts as executable 2024-07-28 12:32:08 +02:00
Manuel Thalmann 538b2e776c Make nix config accessible in scripts 2024-07-28 12:16:01 +02:00
Manuel Thalmann 07cb8eda84 Run installer script after initialization 2024-07-27 23:18:04 +02:00
Manuel Thalmann a5086d87fa Pass boot script path via env variable 2024-07-27 18:59:47 +02:00
Manuel Thalmann 0116c231dd Copy repository settings 2024-07-26 14:43:02 +02:00
Manuel Thalmann 3d6a5802c9 Configure for current user if none is specified 2024-07-20 14:06:25 +02:00
Manuel Thalmann 40fc6929d7 Remove unnecessary statement 2024-07-20 14:04:09 +02:00
Manuel Thalmann 99ad4ce62d Add a function for checking whether a configuration is applied 2024-07-20 14:03:35 +02:00
Manuel Thalmann d6e07d9661 Remove default value of CONFIG_MODULE 2024-07-20 14:02:36 +02:00
Manuel Thalmann ab6cb40a1c Remove necessity of nix config 2024-07-20 13:54:04 +02:00
Manuel Thalmann 0b9a6ed65f Create rclone syncs during setup 2024-07-20 13:47:07 +02:00