Commit graph

1700 commits

Author SHA1 Message Date
Manuel Thalmann 901262b8a7 Ensure the environment variables are always set properly 2024-08-05 23:09:58 +02:00
Manuel Thalmann 2bb3007006 Fix incorrect argument initialization 2024-08-05 23:08:36 +02:00
Manuel Thalmann 3708aa8e2b Ensure Arguments contains an object 2024-08-05 22:51:29 +02:00
Manuel Thalmann b566d63ef2 Fix argument redirection 2024-08-05 22:49:44 +02:00
Manuel Thalmann e7ced15185 Fix non-functioning script 2024-08-05 22:45:17 +02:00
Manuel Thalmann b1544a6a60 Allow running further installer actions within an installer 2024-08-05 22:29:20 +02:00
Manuel Thalmann 5ba6a48eac Refactor windows configuration script 2024-08-05 20:07:39 +02:00
Manuel Thalmann 8564396d86 Refactor software script environment 2024-08-05 00:07:41 +02:00
Manuel Thalmann b37815498a Set CONFIG_MODULE to full path by default 2024-08-02 01:57:31 +02:00
Manuel Thalmann e10a91094e Enter next stage after configuration 2024-08-02 01:44:56 +02:00
Manuel Thalmann 95f65458eb Make config module persist in WSL 2024-08-02 00:47:33 +02:00
Manuel Thalmann f46d2da997 Ensure arguments are passed to fish 2024-08-01 23:36:03 +02:00
Manuel Thalmann 1c29cdd89c Fix installer script structure 2024-08-01 23:34:35 +02:00
Manuel Thalmann 34108f78d8 Declare InstallerAction in a separate file 2024-08-01 22:52:51 +02:00
Manuel Thalmann 5f8b5252ef Ensure necessary modules are imported 2024-08-01 21:49:46 +02:00
Manuel Thalmann c0b0cc2556 Import SetupStage enum into installation module 2024-08-01 21:32:33 +02:00
Manuel Thalmann 6c7bb9c268 Pause on error by default 2024-08-01 21:08:31 +02:00
Manuel Thalmann 985661a91e Display the software name during installation 2024-08-01 21:06:03 +02:00
Manuel Thalmann 8295a41574 Fix non-functioning command 2024-08-01 20:34:55 +02:00
Manuel Thalmann 96ba53799e Remove non-existent script 2024-08-01 19:10:10 +02:00
Manuel Thalmann 9b6cdd24e5 Nest installation functions in a module 2024-08-01 19:02:12 +02:00
Manuel Thalmann 5bb1a19a1f Install winget if nonexistent 2024-08-01 18:58:33 +02:00
Manuel Thalmann fe11ddf570 Use the new commands 2024-08-01 18:36:47 +02:00
Manuel Thalmann a2d0c89424 Add dedicated commands for checking software 2024-08-01 18:35:45 +02:00
Manuel Thalmann f518ea07da Add a script for managing software 2024-08-01 18:24:26 +02:00
Manuel Thalmann 466813fe39 Fix nix installation check 2024-08-01 18:05:10 +02:00
Manuel Thalmann 9a42fba7f7 Make nix visible to WSL 2024-08-01 18:03:48 +02:00
Manuel Thalmann 3a5e8556c5 Add a function for getting the users to create 2024-08-01 17:56:42 +02:00
Manuel Thalmann 603fbdfe46 Rename the file containing software functions 2024-08-01 17:38:59 +02:00
Manuel Thalmann 05201f1108 Configure clock for dualboot systems 2024-08-01 16:32:03 +02:00
Manuel Thalmann e868255996 Enter configuration stage if nix exists 2024-08-01 16:28:48 +02:00
Manuel Thalmann 73ca5018b2 Reboot WSL to pick up nix 2024-08-01 16:25:18 +02:00
Manuel Thalmann c7d19102cf Add a function for retrieving nix options 2024-08-01 16:12:58 +02:00
Manuel Thalmann 50951b31ff Make CONFIG_MODULE available in WSL 2024-08-01 14:39:44 +02:00
Manuel Thalmann ded0d4efd0 Install WSL and nix by default 2024-08-01 14:06:40 +02:00
Manuel Thalmann 040f20edce Rename config module file 2024-08-01 12:39:27 +02:00
Manuel Thalmann 203da2ae3f Reword log messages 2024-08-01 12:32:43 +02:00
Manuel Thalmann 8ad65912be Fix syntax error 2024-08-01 12:31:25 +02:00
Manuel Thalmann 5ff8639898 Import scripting module inside the PowerManagement module 2024-08-01 12:24:28 +02:00
Manuel Thalmann 12c449eb7c Add scripts for updating windows 2024-08-01 02:59:32 +02:00
Manuel Thalmann ee077e0765 Fix errors in the PowerManagement module 2024-08-01 02:19:05 +02:00
Manuel Thalmann fab3c239f6 Fix syntax error 2024-08-01 01:22:23 +02:00
Manuel Thalmann 5e2dc315a8 Fix incorrect documentation comment 2024-07-31 23:10:21 +02:00
Manuel Thalmann d7cc1a53bf Fix handling of setup stages 2024-07-31 22:33:37 +02:00
Manuel Thalmann 2a7adfeba3 Set registry values properly 2024-07-31 22:33:16 +02:00
Manuel Thalmann 595b7cb874 Display console output of hooks 2024-07-31 22:18:47 +02:00
Manuel Thalmann 9a3c5f6b32 Store stages using their name 2024-07-31 16:52:49 +02:00
Manuel Thalmann 467ad0caab Refactor the installation loop architecture 2024-07-31 16:25:32 +02:00
Manuel Thalmann 73c0648611 Implement install loop properly 2024-07-31 16:15:09 +02:00
Manuel Thalmann afb2d1be65 Implement the windows installation in a loop 2024-07-31 16:09:50 +02:00
Manuel Thalmann 401aa9e41c Recreate script to first install pwsh 2024-07-31 15:52:41 +02:00
Manuel Thalmann 9d79d4deb3 Normalize script formatting 2024-07-31 15:52:23 +02:00
Manuel Thalmann e84b2f9583 Add a script for managing setup options 2024-07-31 15:42:02 +02:00
Manuel Thalmann bb3ea5d555 Add a script for rebooting the computer 2024-07-31 15:41:45 +02:00
Manuel Thalmann be4ee90f7d Add a separate script for injecting values into scripts 2024-07-31 14:55:00 +02:00
Manuel Thalmann 90675f3e14 Add a script for checking for installed choco packages 2024-07-31 14:53:21 +02:00
Manuel Thalmann 1012705160 Copy pwsh to newly setup windows systems 2024-07-31 14:47:42 +02:00
Manuel Thalmann ef773d993c Rename old windows installation script 2024-07-30 18:47:01 +02:00
Manuel Thalmann ce0a00ee26 Add a function for executing hooks 2024-07-30 18:34:19 +02:00
Manuel Thalmann 855124c726 Enable rclone services properly 2024-07-30 17:42:29 +02:00
Manuel Thalmann 1efc677ed7 Disable root bash login during installation 2024-07-30 00:54:43 +02:00
Manuel Thalmann 2e243b488d Silence unnecessary output 2024-07-30 00:53:20 +02:00
Manuel Thalmann 2df6822aff Install vscode extensions for each user 2024-07-30 00:53:10 +02:00
Manuel Thalmann de4ceadd9e Fix installation of brave extensions 2024-07-30 00:52:55 +02:00
Manuel Thalmann 056131e206 Fix non-functioning installation scripts 2024-07-30 00:52:35 +02:00
Manuel Thalmann 770c87a670 Fix missing variables 2024-07-30 00:51:50 +02:00
Manuel Thalmann a57f878700 Fix non-functioning command 2024-07-29 23:46:14 +02:00
Manuel Thalmann ebf89c0f31 Load dualboot sizes from nix 2024-07-29 01:44:12 +02:00
Manuel Thalmann 86d845768a Allow overwriting packages 2024-07-28 23:45:30 +02:00
Manuel Thalmann 2b3440f3fd Generate locales in proper system 2024-07-28 23:45:09 +02:00
Manuel Thalmann 56baf02459 Execute userConfig for current user only once 2024-07-28 23:44:58 +02:00
Manuel Thalmann 394305a56a Prevent userConfig from execute multiple times 2024-07-28 23:43:11 +02:00
Manuel Thalmann 9ea7d31053 Nest Windows setup in a function 2024-07-28 20:52:07 +02:00
Manuel Thalmann 4fe0ecfe95 Inherit missing variable 2024-07-28 17:01:24 +02:00
Manuel Thalmann c22384c727 Fix aliae configuration 2024-07-28 16:57:47 +02:00
Manuel Thalmann e580446ca6 Fix broken profile creation 2024-07-28 16:57:36 +02:00
Manuel Thalmann 022f5bfb5a Inherit missing variables 2024-07-28 15:25:03 +02:00
Manuel Thalmann e6da47a184 Mark all fish scripts as executable 2024-07-28 12:32:08 +02:00
Manuel Thalmann 40b0bafcac Make nix config accessible in scripts 2024-07-28 12:16:01 +02:00
Manuel Thalmann 2e7be10a9c Run installer script after initialization 2024-07-27 23:18:04 +02:00
Manuel Thalmann 800261791e Pass boot script path via env variable 2024-07-27 18:59:47 +02:00
Manuel Thalmann 4d6e916750 Copy repository settings 2024-07-26 14:43:02 +02:00
Manuel Thalmann bd1c3caf95 Configure for current user if none is specified 2024-07-20 14:06:25 +02:00
Manuel Thalmann 3d9eef9dc6 Remove unnecessary statement 2024-07-20 14:04:09 +02:00
Manuel Thalmann 519d055c10 Add a function for checking whether a configuration is applied 2024-07-20 14:03:35 +02:00
Manuel Thalmann 3e125c639d Remove default value of CONFIG_MODULE 2024-07-20 14:02:36 +02:00
Manuel Thalmann c1f296a7ce Remove necessity of nix config 2024-07-20 13:54:04 +02:00
Manuel Thalmann aa2e535968 Create rclone syncs during setup 2024-07-20 13:47:07 +02:00
Manuel Thalmann 3135643d3f Preserve environment while running dbus session 2024-07-20 05:14:09 +02:00
Manuel Thalmann 6898e3c26d Fix typo 2024-07-20 05:09:42 +02:00
Manuel Thalmann 05c3dd174c Force json output appropriately 2024-07-20 05:09:13 +02:00
Manuel Thalmann e932bef303 Add a script draft for configuring rclone 2024-07-20 05:08:23 +02:00
Manuel Thalmann 7bd01cc1bd Load the default shell from the user config 2024-07-20 04:35:41 +02:00
Manuel Thalmann 2362c56fc0 Split nix configuration properly 2024-07-20 04:31:09 +02:00
Manuel Thalmann 8933dcc7cb Fix typo 2024-07-20 04:23:51 +02:00
Manuel Thalmann 66927e65d0 Prevent changing the working directory 2024-07-20 04:17:42 +02:00
Manuel Thalmann 3a4c2891ad Add separate method for configuring git 2024-07-20 04:06:41 +02:00
Manuel Thalmann a89d9bb677 Add function for configuring user settings 2024-07-20 03:50:38 +02:00
Manuel Thalmann 675db97522 Stop keeping track of installed software 2024-07-20 03:32:53 +02:00
Manuel Thalmann 4ecfcfc6f3 Call software scripts using individual fish commands 2024-07-20 03:27:36 +02:00
Manuel Thalmann 406a7d970c Remove unnecessary statement 2024-07-20 03:27:20 +02:00
Manuel Thalmann 591eab6a57 Add users before installing software 2024-07-20 03:13:17 +02:00
Manuel Thalmann ade8b2fd2a Read config keys properly 2024-07-20 01:59:33 +02:00
Manuel Thalmann b8812cfe4a Fix string formatting 2024-07-20 01:57:06 +02:00
Manuel Thalmann 1b255a6fe9 Fix malformed installer script 2024-07-20 01:51:14 +02:00
Manuel Thalmann c16b7468a5 Fix variable inheritance 2024-07-20 01:46:11 +02:00
Manuel Thalmann 64c27aae02 Fix configuration target 2024-07-20 01:43:53 +02:00
Manuel Thalmann 0a9d8e2c16 Fix use of incorrect config keys 2024-07-20 01:38:53 +02:00
Manuel Thalmann 2a307cc943 Fix variable visibility 2024-07-20 01:36:22 +02:00
Manuel Thalmann 0c6c9050c9 Ignore installation status by default 2024-07-20 01:32:42 +02:00
Manuel Thalmann 38ed0780f8 Allow user-defined git config 2024-07-20 01:31:04 +02:00
Manuel Thalmann 2c2c2889c2 Allow flagging git as installed 2024-07-20 01:23:08 +02:00
Manuel Thalmann 2eb56e20f1 Allow marking software as installed 2024-07-20 01:21:25 +02:00
Manuel Thalmann 82b6fa594d Fix string formatting 2024-07-20 01:03:20 +02:00
Manuel Thalmann 105268b7bc Fix permission issues 2024-07-20 00:59:11 +02:00
Manuel Thalmann 2150086ea8 Remove test code 2024-07-20 00:47:48 +02:00
Manuel Thalmann e62637b3be Add users from configuration 2024-07-20 00:46:02 +02:00
Manuel Thalmann 5fa9f49b58 Allow applying custom functions during evaluation 2024-07-20 00:36:19 +02:00
Manuel Thalmann 2848e5b52c Generate locales during setup 2024-07-19 21:18:20 +02:00
Manuel Thalmann 3d4a607b2a Silence unnecessary console output 2024-07-17 16:41:42 +02:00
Manuel Thalmann e1d06ea374 Fix creation of vscode config files 2024-07-17 16:39:03 +02:00
Manuel Thalmann 39217bce22 Load missing variable 2024-07-17 16:33:59 +02:00
Manuel Thalmann d2db7272ca Force installing iptables-nft 2024-07-17 16:18:31 +02:00
Manuel Thalmann 36d9eabac7 Load missing variable 2024-07-17 16:04:57 +02:00
Manuel Thalmann 82eac56241 Remove unnecessary statement 2024-07-17 15:59:09 +02:00
Manuel Thalmann b2f0bcad67 Install logo-ls only if not present 2024-07-17 15:54:53 +02:00
Manuel Thalmann f81c36127d Normalize casing of firefox directory 2024-07-17 15:54:09 +02:00
Manuel Thalmann 49cc7e0590 Add missing packages 2024-07-17 15:49:30 +02:00
Manuel Thalmann 134543f675 Fix permission error 2024-07-17 15:22:41 +02:00
Manuel Thalmann 06a7048148 Install bb at the end 2024-07-17 15:08:27 +02:00
Manuel Thalmann 8d6a16c3c9 Fix typo 2024-07-17 15:00:26 +02:00
Manuel Thalmann 766ae9a5c4 Fix incorrect paths 2024-07-17 15:00:01 +02:00
Manuel Thalmann 10d5a56527 Fix typo 2024-07-17 14:55:30 +02:00
Manuel Thalmann f2e37ffd22 Add scripts for installing school software 2024-07-17 14:26:01 +02:00
Manuel Thalmann 719a9ab8ff Streamline installation of all further software 2024-07-17 14:18:27 +02:00
Manuel Thalmann f1163a12c8 Silence unnecessary console output 2024-07-17 10:25:41 +02:00
Manuel Thalmann 84487937f7 Fix syntax error 2024-07-17 01:07:27 +02:00
Manuel Thalmann 76fce58ec6 Enable minegrub theme by default 2024-07-16 23:35:12 +02:00
Manuel Thalmann 7bd2d32f4b Silence unnecessary output 2024-07-16 23:32:46 +02:00
Manuel Thalmann 0daac2eb6d Fix permission error 2024-07-16 23:13:41 +02:00
Manuel Thalmann ab94663128 Streamline minegrub-theme installation 2024-07-16 23:11:27 +02:00
Manuel Thalmann e4dfb6ae10 Streamline GRUB installation 2024-07-16 22:18:39 +02:00
Manuel Thalmann 476d56cf3f Configure nix during setup 2024-07-16 22:17:07 +02:00
Manuel Thalmann 20f45a5cc1 Add a hook for installing dependencies 2024-07-16 22:16:21 +02:00
Manuel Thalmann 6955a140f5 Reorder installation steps 2024-07-16 22:15:37 +02:00
Manuel Thalmann e2241e6924 Include missing script file 2024-07-16 22:12:19 +02:00
Manuel Thalmann d5831463b1 Fix broken sddm configuration 2024-07-16 22:12:07 +02:00
Manuel Thalmann a76e96f57e Allow specifying custom chroot command 2024-07-16 22:10:42 +02:00
Manuel Thalmann 28fd9b8640 Allow executing scripts while installing OS 2024-07-16 16:13:34 +02:00
Manuel Thalmann 9c1b81b4f4 Implement os setup using a function 2024-07-16 15:22:15 +02:00
Manuel Thalmann 3bc573d352 Streamline GUI app installation 2024-07-16 14:56:49 +02:00
Manuel Thalmann 5b2939b7a5 Streamline zoxide installation 2024-07-16 14:28:32 +02:00
Manuel Thalmann 92d672ab0e Fix incomplete installation 2024-07-16 14:28:06 +02:00
Manuel Thalmann b6d68043f0 Set profile title by default 2024-07-16 14:15:05 +02:00
Manuel Thalmann 150775e068 Relocate powershell profile script 2024-07-16 14:06:19 +02:00
Manuel Thalmann 005c575320 Replace aliae config with default bash profile 2024-07-16 03:36:51 +02:00
Manuel Thalmann 8315b89c6c Add aliae to the skel 2024-07-16 03:30:25 +02:00
Manuel Thalmann 5e5bb3e5df Streamline aliae installation 2024-07-16 03:30:14 +02:00
Manuel Thalmann a761514d2a Copy repo using rsync 2024-07-16 01:33:08 +02:00
Manuel Thalmann 5851825a21 Remove non-functioning symbols 2024-07-16 01:05:29 +02:00
Manuel Thalmann 7aeb46aaca Automatically reboot the machine 2024-07-16 01:05:06 +02:00
Manuel Thalmann 50dcbd015a Add further initialization packages 2024-07-15 20:51:20 +02:00
Manuel Thalmann 5cb1026fc2 Load git config from nix 2024-07-15 20:24:47 +02:00
Manuel Thalmann abad516efc Add jq to fresh Arch installations 2024-07-15 20:20:44 +02:00
Manuel Thalmann d9ce67be73 Fix permission issue 2024-07-15 19:58:56 +02:00
Manuel Thalmann 3ebc824061 Set git config system wide 2024-07-15 14:58:54 +02:00
Manuel Thalmann 0ae0fd8afe Set git config system wide 2024-07-15 14:47:06 +02:00
Manuel Thalmann cd81edf1a7 Add a function to check whether a config is set 2024-07-15 14:14:07 +02:00
Manuel Thalmann d3550592f1 Pass arguments to software scripts 2024-07-15 13:56:27 +02:00
Manuel Thalmann 10f2da8991 Fix typo 2024-07-15 13:27:14 +02:00
Manuel Thalmann 272d8e0939 Enable nix before setup 2024-07-15 13:26:40 +02:00
Manuel Thalmann fc679e92e6 Fix permission issues 2024-07-15 13:23:00 +02:00
Manuel Thalmann 272ccaa2f3 Fix syntax error 2024-07-15 13:17:00 +02:00
Manuel Thalmann 8c7786c554 Fix typos 2024-07-15 13:15:57 +02:00
Manuel Thalmann 43869c3623 Make setup-user able to use nix 2024-07-15 13:15:07 +02:00
Manuel Thalmann 280b30a0b2 Ensure nix works during setup 2024-07-15 13:13:15 +02:00
Manuel Thalmann 82171f7fa7 Fix typo 2024-07-15 13:12:46 +02:00
Manuel Thalmann 1a4726ea25 Force network connection for installation 2024-07-15 12:45:49 +02:00
Manuel Thalmann 09e405bd9d Allow package install scripts to be chained properly 2024-07-15 12:43:18 +02:00
Manuel Thalmann 8d1c754106 Package essential software 2024-07-15 12:10:06 +02:00
Manuel Thalmann ed065e6991 Automatically install enumerated software 2024-07-15 09:41:02 +02:00
Manuel Thalmann 39ef53aa0f Remove redundant command 2024-07-15 09:40:10 +02:00
Manuel Thalmann 26bc15a769 Add proper packages for system setup 2024-07-14 22:34:47 +02:00
Manuel Thalmann b0608a95f5 Fix syntax errors 2024-07-14 22:34:06 +02:00
Manuel Thalmann dd80318bdc Streamline yay installation 2024-07-14 22:33:56 +02:00
Manuel Thalmann 8055185997 Refactor network connection test 2024-07-14 21:37:39 +02:00
Manuel Thalmann 8945b8f633 Fix syntax errors 2024-07-14 10:10:14 +02:00
Manuel Thalmann 07b864ea22 Fix syntax error 2024-07-14 10:10:04 +02:00
Manuel Thalmann 68e8bc3bd3 Execute actual software installation 2024-07-14 10:09:57 +02:00
Manuel Thalmann 08be93f5e4 Fix undefined variable 2024-07-14 10:09:37 +02:00
Manuel Thalmann 8528bc3b7c Rename the yay wrapper 2024-07-14 09:48:23 +02:00
Manuel Thalmann 0178bb53d1 Streamline pacman installation 2024-07-14 09:44:32 +02:00
Manuel Thalmann cecb640619 Streamline base-devel installation 2024-07-14 03:05:26 +02:00
Manuel Thalmann 9885850fce Add scripts for maintaining software installation 2024-07-13 18:36:24 +02:00
Manuel Thalmann 1d740e2372 Enter PortValhalla before the installation 2024-07-13 17:28:30 +02:00
Manuel Thalmann 3698887c17 Fix incorrect path specification 2024-07-13 17:28:06 +02:00
Manuel Thalmann 7c0710bb78 Fix nix on new installations 2024-07-13 17:27:53 +02:00
Manuel Thalmann bc7869bce5 Add a shallow installation script 2024-07-13 15:49:55 +02:00
Manuel Thalmann 84f0e8e1c5 Create a common install script 2024-07-13 15:12:35 +02:00
Manuel Thalmann b43c8ae947 Install fish and nix on setup 2024-07-13 15:12:01 +02:00