Commit graph

1737 commits

Author SHA1 Message Date
Manuel Thalmann 9d024f9c3e Use internal OS detection 2024-08-07 21:35:03 +02:00
Manuel Thalmann 7b9eb1b370 Refactor PowerShell profile script 2024-08-07 21:34:40 +02:00
Manuel Thalmann 99cc9cb12b Move scripts properly 2024-08-07 21:05:32 +02:00
Manuel Thalmann b024445989 Add scripts for installing PowerShell 2024-08-07 20:30:12 +02:00
Manuel Thalmann 498d65e24a Rename PowerShell script directory 2024-08-07 19:08:13 +02:00
Manuel Thalmann 0e30d9cc0b Add script for installing Thunderbird 2024-08-07 18:57:27 +02:00
Manuel Thalmann 2e042f9e1b Install drivers in proper phase 2024-08-07 18:54:07 +02:00
Manuel Thalmann 339379a04f Add a script for installing WinSCP 2024-08-07 18:30:14 +02:00
Manuel Thalmann 5145b5383f Refactor app association script 2024-08-07 18:29:20 +02:00
Manuel Thalmann e9b0cb3f7f Prevent reboot during WaveLink installation 2024-08-07 18:01:17 +02:00
Manuel Thalmann 1d6fafa73f Add scripts for installing drivers 2024-08-07 16:17:49 +02:00
Manuel Thalmann 37e5636da1 Add script for installing AMD packages 2024-08-07 15:25:12 +02:00
Manuel Thalmann 9ab7cdc4d0 Add missing package for selenium 2024-08-07 15:24:56 +02:00
Manuel Thalmann 27d2797ed2 Ensure correct types for setting download dir 2024-08-07 15:24:37 +02:00
Manuel Thalmann 164a3b60ef Add a script for installing ASUS packages 2024-08-07 14:40:24 +02:00
Manuel Thalmann d13d774b4b Refactor browser automation scripts 2024-08-07 14:28:26 +02:00
Manuel Thalmann 7b8849e0bf Execute winget script in a module 2024-08-07 13:36:47 +02:00
Manuel Thalmann 629e2044c7 Install components for browser automation 2024-08-07 13:36:31 +02:00
Manuel Thalmann 9602b40c50 Add functions for installing choco and winget packages 2024-08-07 13:22:12 +02:00
Manuel Thalmann ebc90e6e2e Add a function for checking winget packages 2024-08-07 13:18:29 +02:00
Manuel Thalmann 603d665f9e Enhance the winget install check 2024-08-07 03:34:12 +02:00
Manuel Thalmann 5b299e432d Add a function for checking NuGet packages 2024-08-07 03:23:59 +02:00
Manuel Thalmann 32a190342f Fix non-functioning script 2024-08-07 03:23:21 +02:00
Manuel Thalmann 51558e02c9 Install PowerShell modules after removing old copy 2024-08-06 18:19:33 +02:00
Manuel Thalmann 118b653a63 Silence unnecessary output 2024-08-06 17:07:57 +02:00
Manuel Thalmann 0fc2d9348c Add a separate function for executing software actions 2024-08-06 16:54:11 +02:00
Manuel Thalmann c95519fef7 Add a function for checking whether a setup is being run 2024-08-06 14:32:37 +02:00
Manuel Thalmann c437c6c6cf Determine software script name properly 2024-08-06 12:21:48 +02:00
Manuel Thalmann 0c47df9f00 Fix incorrect path 2024-08-06 12:21:00 +02:00
Manuel Thalmann e230a95209 Fix incorrectly imported modules 2024-08-06 11:39:57 +02:00
Manuel Thalmann dbe0515965 Fix incorrect XPaths 2024-08-06 11:39:48 +02:00
Manuel Thalmann a919979a68 Set the name of the setup user properly 2024-08-06 10:22:50 +02:00
Manuel Thalmann 83bf9a4d32 Add scripts for installing essential software 2024-08-06 00:04:02 +02:00
Manuel Thalmann fa57e95def Add a function for removing desktop icons 2024-08-06 00:02:07 +02:00
Manuel Thalmann 1e6d44d1bb Add an option for showing file extensions 2024-08-05 23:22:22 +02:00
Manuel Thalmann 2fe3b639f7 Ensure the environment variables are always set properly 2024-08-05 23:09:58 +02:00
Manuel Thalmann 92dee406ff Fix incorrect argument initialization 2024-08-05 23:08:36 +02:00
Manuel Thalmann c37ea23130 Ensure Arguments contains an object 2024-08-05 22:51:29 +02:00
Manuel Thalmann a9769bd980 Fix argument redirection 2024-08-05 22:49:44 +02:00
Manuel Thalmann 290b9a3611 Fix non-functioning script 2024-08-05 22:45:17 +02:00
Manuel Thalmann 633df57fee Allow running further installer actions within an installer 2024-08-05 22:29:20 +02:00
Manuel Thalmann f43e612883 Refactor windows configuration script 2024-08-05 20:07:39 +02:00
Manuel Thalmann 39803bbbba Refactor software script environment 2024-08-05 00:07:41 +02:00
Manuel Thalmann db38915911 Set CONFIG_MODULE to full path by default 2024-08-02 01:57:31 +02:00
Manuel Thalmann fb02b79a4d Enter next stage after configuration 2024-08-02 01:44:56 +02:00
Manuel Thalmann 8c447dabbe Make config module persist in WSL 2024-08-02 00:47:33 +02:00
Manuel Thalmann 7a47b016ef Ensure arguments are passed to fish 2024-08-01 23:36:03 +02:00
Manuel Thalmann a9ae8c9a98 Fix installer script structure 2024-08-01 23:34:35 +02:00
Manuel Thalmann 72fd72f5bd Declare InstallerAction in a separate file 2024-08-01 22:52:51 +02:00
Manuel Thalmann 4906bb0b24 Ensure necessary modules are imported 2024-08-01 21:49:46 +02:00
Manuel Thalmann 2e03728d44 Import SetupStage enum into installation module 2024-08-01 21:32:33 +02:00
Manuel Thalmann b5d9489f21 Pause on error by default 2024-08-01 21:08:31 +02:00
Manuel Thalmann d9be9fe3da Display the software name during installation 2024-08-01 21:06:03 +02:00
Manuel Thalmann 8dbac3564d Fix non-functioning command 2024-08-01 20:34:55 +02:00
Manuel Thalmann 38f65b3e63 Remove non-existent script 2024-08-01 19:10:10 +02:00
Manuel Thalmann 06b314b1f5 Nest installation functions in a module 2024-08-01 19:02:12 +02:00
Manuel Thalmann 9bcdd2fd9f Install winget if nonexistent 2024-08-01 18:58:33 +02:00
Manuel Thalmann 429cc25c4c Use the new commands 2024-08-01 18:36:47 +02:00
Manuel Thalmann 629046b212 Add dedicated commands for checking software 2024-08-01 18:35:45 +02:00
Manuel Thalmann 369fcaed00 Add a script for managing software 2024-08-01 18:24:26 +02:00
Manuel Thalmann cc77eaf05c Fix nix installation check 2024-08-01 18:05:10 +02:00
Manuel Thalmann 9324e3074f Make nix visible to WSL 2024-08-01 18:03:48 +02:00
Manuel Thalmann c5be70b11d Add a function for getting the users to create 2024-08-01 17:56:42 +02:00
Manuel Thalmann 38ed315bd2 Rename the file containing software functions 2024-08-01 17:38:59 +02:00
Manuel Thalmann d3dd4ff5a9 Configure clock for dualboot systems 2024-08-01 16:32:03 +02:00
Manuel Thalmann 5b0074bea9 Enter configuration stage if nix exists 2024-08-01 16:28:48 +02:00
Manuel Thalmann 6612b9e7d4 Reboot WSL to pick up nix 2024-08-01 16:25:18 +02:00
Manuel Thalmann 1fb70ecda0 Add a function for retrieving nix options 2024-08-01 16:12:58 +02:00
Manuel Thalmann 781d133e7e Make CONFIG_MODULE available in WSL 2024-08-01 14:39:44 +02:00
Manuel Thalmann bba8da3b84 Install WSL and nix by default 2024-08-01 14:06:40 +02:00
Manuel Thalmann 86732247b9 Rename config module file 2024-08-01 12:39:27 +02:00
Manuel Thalmann be41a143c0 Reword log messages 2024-08-01 12:32:43 +02:00
Manuel Thalmann 8f0e147fa0 Fix syntax error 2024-08-01 12:31:25 +02:00
Manuel Thalmann fa60493ae1 Import scripting module inside the PowerManagement module 2024-08-01 12:24:28 +02:00
Manuel Thalmann a6985d7e1b Add scripts for updating windows 2024-08-01 02:59:32 +02:00
Manuel Thalmann 5bb0cd41cc Fix errors in the PowerManagement module 2024-08-01 02:19:05 +02:00
Manuel Thalmann 467b429bd9 Fix syntax error 2024-08-01 01:22:23 +02:00
Manuel Thalmann f228817817 Fix incorrect documentation comment 2024-07-31 23:10:21 +02:00
Manuel Thalmann e327ca8d17 Fix handling of setup stages 2024-07-31 22:33:37 +02:00
Manuel Thalmann 734ae7bd05 Set registry values properly 2024-07-31 22:33:16 +02:00
Manuel Thalmann cd3f85103a Display console output of hooks 2024-07-31 22:18:47 +02:00
Manuel Thalmann dbdedad1d9 Store stages using their name 2024-07-31 16:52:49 +02:00
Manuel Thalmann 31c30e6854 Refactor the installation loop architecture 2024-07-31 16:25:32 +02:00
Manuel Thalmann 89183dbeed Implement install loop properly 2024-07-31 16:15:09 +02:00
Manuel Thalmann 64c2ba9127 Implement the windows installation in a loop 2024-07-31 16:09:50 +02:00
Manuel Thalmann d07d4c9057 Recreate script to first install pwsh 2024-07-31 15:52:41 +02:00
Manuel Thalmann bb0b4a5988 Normalize script formatting 2024-07-31 15:52:23 +02:00
Manuel Thalmann 1be172ae07 Add a script for managing setup options 2024-07-31 15:42:02 +02:00
Manuel Thalmann fad332b267 Add a script for rebooting the computer 2024-07-31 15:41:45 +02:00
Manuel Thalmann c137952345 Add a separate script for injecting values into scripts 2024-07-31 14:55:00 +02:00
Manuel Thalmann 156c72c977 Add a script for checking for installed choco packages 2024-07-31 14:53:21 +02:00
Manuel Thalmann 8d9e9ca3a6 Copy pwsh to newly setup windows systems 2024-07-31 14:47:42 +02:00
Manuel Thalmann ca2a5f23b0 Rename old windows installation script 2024-07-30 18:47:01 +02:00
Manuel Thalmann 4e87165196 Add a function for executing hooks 2024-07-30 18:34:19 +02:00
Manuel Thalmann 0d926a06b8 Enable rclone services properly 2024-07-30 17:42:29 +02:00
Manuel Thalmann ea991759af Disable root bash login during installation 2024-07-30 00:54:43 +02:00
Manuel Thalmann d285e69c97 Silence unnecessary output 2024-07-30 00:53:20 +02:00
Manuel Thalmann 974b1b8083 Install vscode extensions for each user 2024-07-30 00:53:10 +02:00
Manuel Thalmann 6e505faada Fix installation of brave extensions 2024-07-30 00:52:55 +02:00
Manuel Thalmann 8e1f3e0148 Fix non-functioning installation scripts 2024-07-30 00:52:35 +02:00
Manuel Thalmann 346614deee Fix missing variables 2024-07-30 00:51:50 +02:00
Manuel Thalmann 4d2c02c2b5 Fix non-functioning command 2024-07-29 23:46:14 +02:00
Manuel Thalmann 852b1c71ce Load dualboot sizes from nix 2024-07-29 01:44:12 +02:00
Manuel Thalmann 5b650f7efc Allow overwriting packages 2024-07-28 23:45:30 +02:00
Manuel Thalmann 5f0a25deb2 Generate locales in proper system 2024-07-28 23:45:09 +02:00
Manuel Thalmann 3c6933c03d Execute userConfig for current user only once 2024-07-28 23:44:58 +02:00
Manuel Thalmann f3049e9fd2 Prevent userConfig from execute multiple times 2024-07-28 23:43:11 +02:00
Manuel Thalmann 4a34593d83 Nest Windows setup in a function 2024-07-28 20:52:07 +02:00
Manuel Thalmann 4c9b801fd2 Inherit missing variable 2024-07-28 17:01:24 +02:00
Manuel Thalmann f1e5d22043 Fix aliae configuration 2024-07-28 16:57:47 +02:00
Manuel Thalmann b40c6d71d4 Fix broken profile creation 2024-07-28 16:57:36 +02:00
Manuel Thalmann 083703e44b Inherit missing variables 2024-07-28 15:25:03 +02:00
Manuel Thalmann ee8d8c12cd Mark all fish scripts as executable 2024-07-28 12:32:08 +02:00
Manuel Thalmann 64d4b1d7a4 Make nix config accessible in scripts 2024-07-28 12:16:01 +02:00
Manuel Thalmann 1922eed510 Run installer script after initialization 2024-07-27 23:18:04 +02:00
Manuel Thalmann 795d50a2a3 Pass boot script path via env variable 2024-07-27 18:59:47 +02:00
Manuel Thalmann 81a3e10d65 Copy repository settings 2024-07-26 14:43:02 +02:00
Manuel Thalmann 9c6d5509f6 Configure for current user if none is specified 2024-07-20 14:06:25 +02:00
Manuel Thalmann ac814a123d Remove unnecessary statement 2024-07-20 14:04:09 +02:00
Manuel Thalmann 2b38c0e81e Add a function for checking whether a configuration is applied 2024-07-20 14:03:35 +02:00
Manuel Thalmann 0713eed08c Remove default value of CONFIG_MODULE 2024-07-20 14:02:36 +02:00
Manuel Thalmann cc1f27f568 Remove necessity of nix config 2024-07-20 13:54:04 +02:00
Manuel Thalmann 843e9dba26 Create rclone syncs during setup 2024-07-20 13:47:07 +02:00
Manuel Thalmann 6d8b4b0424 Preserve environment while running dbus session 2024-07-20 05:14:09 +02:00
Manuel Thalmann 7db404be82 Fix typo 2024-07-20 05:09:42 +02:00
Manuel Thalmann 5ceb570098 Force json output appropriately 2024-07-20 05:09:13 +02:00
Manuel Thalmann 572ac87336 Add a script draft for configuring rclone 2024-07-20 05:08:23 +02:00
Manuel Thalmann b54bea2391 Load the default shell from the user config 2024-07-20 04:35:41 +02:00
Manuel Thalmann 9b46eaec15 Split nix configuration properly 2024-07-20 04:31:09 +02:00
Manuel Thalmann 74d4454bb0 Fix typo 2024-07-20 04:23:51 +02:00
Manuel Thalmann a7390cbf9b Prevent changing the working directory 2024-07-20 04:17:42 +02:00
Manuel Thalmann 6b1c97956d Add separate method for configuring git 2024-07-20 04:06:41 +02:00
Manuel Thalmann 0ebe9ace15 Add function for configuring user settings 2024-07-20 03:50:38 +02:00
Manuel Thalmann 051019072a Stop keeping track of installed software 2024-07-20 03:32:53 +02:00
Manuel Thalmann 2680dce208 Call software scripts using individual fish commands 2024-07-20 03:27:36 +02:00
Manuel Thalmann 8cc8da2eb6 Remove unnecessary statement 2024-07-20 03:27:20 +02:00
Manuel Thalmann 46237dc982 Add users before installing software 2024-07-20 03:13:17 +02:00
Manuel Thalmann 699418155b Read config keys properly 2024-07-20 01:59:33 +02:00
Manuel Thalmann d3a38daafc Fix string formatting 2024-07-20 01:57:06 +02:00
Manuel Thalmann 2a434b8653 Fix malformed installer script 2024-07-20 01:51:14 +02:00
Manuel Thalmann 7411963897 Fix variable inheritance 2024-07-20 01:46:11 +02:00
Manuel Thalmann 5bffc229a4 Fix configuration target 2024-07-20 01:43:53 +02:00
Manuel Thalmann 68f8eb81f9 Fix use of incorrect config keys 2024-07-20 01:38:53 +02:00
Manuel Thalmann a3ea73efbf Fix variable visibility 2024-07-20 01:36:22 +02:00
Manuel Thalmann eeabf6dadf Ignore installation status by default 2024-07-20 01:32:42 +02:00
Manuel Thalmann a613f92535 Allow user-defined git config 2024-07-20 01:31:04 +02:00
Manuel Thalmann ef49fab43a Allow flagging git as installed 2024-07-20 01:23:08 +02:00
Manuel Thalmann 358cb3a327 Allow marking software as installed 2024-07-20 01:21:25 +02:00
Manuel Thalmann e9434ef43f Fix string formatting 2024-07-20 01:03:20 +02:00
Manuel Thalmann a125d4e154 Fix permission issues 2024-07-20 00:59:11 +02:00
Manuel Thalmann 73070fb232 Remove test code 2024-07-20 00:47:48 +02:00
Manuel Thalmann f85140da48 Add users from configuration 2024-07-20 00:46:02 +02:00
Manuel Thalmann 54e629f706 Allow applying custom functions during evaluation 2024-07-20 00:36:19 +02:00
Manuel Thalmann 81d6a7cbd3 Generate locales during setup 2024-07-19 21:18:20 +02:00
Manuel Thalmann 8d144252bb Silence unnecessary console output 2024-07-17 16:41:42 +02:00
Manuel Thalmann 894b397ffd Fix creation of vscode config files 2024-07-17 16:39:03 +02:00
Manuel Thalmann f74f92e980 Load missing variable 2024-07-17 16:33:59 +02:00
Manuel Thalmann ce37071c0f Force installing iptables-nft 2024-07-17 16:18:31 +02:00
Manuel Thalmann 4c1ccee7d1 Load missing variable 2024-07-17 16:04:57 +02:00
Manuel Thalmann dd02a51d03 Remove unnecessary statement 2024-07-17 15:59:09 +02:00
Manuel Thalmann e8e6866f1e Install logo-ls only if not present 2024-07-17 15:54:53 +02:00
Manuel Thalmann d3124852ef Normalize casing of firefox directory 2024-07-17 15:54:09 +02:00
Manuel Thalmann 1aa3066140 Add missing packages 2024-07-17 15:49:30 +02:00
Manuel Thalmann 1856d1401f Fix permission error 2024-07-17 15:22:41 +02:00
Manuel Thalmann 6f7ad07540 Install bb at the end 2024-07-17 15:08:27 +02:00
Manuel Thalmann 82a02ca080 Fix typo 2024-07-17 15:00:26 +02:00
Manuel Thalmann caf781e913 Fix incorrect paths 2024-07-17 15:00:01 +02:00
Manuel Thalmann e1ec40ad03 Fix typo 2024-07-17 14:55:30 +02:00
Manuel Thalmann 279ca46478 Add scripts for installing school software 2024-07-17 14:26:01 +02:00
Manuel Thalmann 69ca2c4630 Streamline installation of all further software 2024-07-17 14:18:27 +02:00
Manuel Thalmann f08589266d Silence unnecessary console output 2024-07-17 10:25:41 +02:00
Manuel Thalmann 0a63082bec Fix syntax error 2024-07-17 01:07:27 +02:00
Manuel Thalmann 3645f668eb Enable minegrub theme by default 2024-07-16 23:35:12 +02:00
Manuel Thalmann 482b72330e Silence unnecessary output 2024-07-16 23:32:46 +02:00
Manuel Thalmann b79053bfc9 Fix permission error 2024-07-16 23:13:41 +02:00
Manuel Thalmann c15599223b Streamline minegrub-theme installation 2024-07-16 23:11:27 +02:00
Manuel Thalmann 660c32b790 Streamline GRUB installation 2024-07-16 22:18:39 +02:00
Manuel Thalmann 7ef8e8ff18 Configure nix during setup 2024-07-16 22:17:07 +02:00
Manuel Thalmann 4970ab4dc2 Add a hook for installing dependencies 2024-07-16 22:16:21 +02:00
Manuel Thalmann 27d5dffd43 Reorder installation steps 2024-07-16 22:15:37 +02:00
Manuel Thalmann 652ee29a70 Include missing script file 2024-07-16 22:12:19 +02:00
Manuel Thalmann 5ef340535c Fix broken sddm configuration 2024-07-16 22:12:07 +02:00
Manuel Thalmann 2d7ba75586 Allow specifying custom chroot command 2024-07-16 22:10:42 +02:00
Manuel Thalmann 796e6352de Allow executing scripts while installing OS 2024-07-16 16:13:34 +02:00
Manuel Thalmann 29aec891b0 Implement os setup using a function 2024-07-16 15:22:15 +02:00
Manuel Thalmann d1e4128f30 Streamline GUI app installation 2024-07-16 14:56:49 +02:00
Manuel Thalmann ac21db101f Streamline zoxide installation 2024-07-16 14:28:32 +02:00
Manuel Thalmann af109bb24e Fix incomplete installation 2024-07-16 14:28:06 +02:00
Manuel Thalmann 7c06248859 Set profile title by default 2024-07-16 14:15:05 +02:00
Manuel Thalmann 4c34db9d43 Relocate powershell profile script 2024-07-16 14:06:19 +02:00
Manuel Thalmann 1f94745b94 Replace aliae config with default bash profile 2024-07-16 03:36:51 +02:00
Manuel Thalmann 04cf2de0ae Add aliae to the skel 2024-07-16 03:30:25 +02:00
Manuel Thalmann f50920d868 Streamline aliae installation 2024-07-16 03:30:14 +02:00
Manuel Thalmann 508bd7a399 Copy repo using rsync 2024-07-16 01:33:08 +02:00
Manuel Thalmann d14418e4ca Remove non-functioning symbols 2024-07-16 01:05:29 +02:00
Manuel Thalmann 525acbc656 Automatically reboot the machine 2024-07-16 01:05:06 +02:00
Manuel Thalmann 5e9a2cafb3 Add further initialization packages 2024-07-15 20:51:20 +02:00
Manuel Thalmann ce778485ec Load git config from nix 2024-07-15 20:24:47 +02:00
Manuel Thalmann fa61dc0b87 Add jq to fresh Arch installations 2024-07-15 20:20:44 +02:00
Manuel Thalmann 90752e2e1e Fix permission issue 2024-07-15 19:58:56 +02:00