Commit graph

1708 commits

Author SHA1 Message Date
Manuel Thalmann e7f6540815 Fix incorrectly imported modules 2024-08-06 11:39:57 +02:00
Manuel Thalmann 1f4e7a7720 Fix incorrect XPaths 2024-08-06 11:39:48 +02:00
Manuel Thalmann 58c8b7b542 Set the name of the setup user properly 2024-08-06 10:22:50 +02:00
Manuel Thalmann 13b430bf79 Add scripts for installing essential software 2024-08-06 00:04:02 +02:00
Manuel Thalmann fd000aa78b Add a function for removing desktop icons 2024-08-06 00:02:07 +02:00
Manuel Thalmann 3fecc04ed0 Add an option for showing file extensions 2024-08-05 23:22:22 +02:00
Manuel Thalmann 6a25230444 Ensure the environment variables are always set properly 2024-08-05 23:09:58 +02:00
Manuel Thalmann 7d13434496 Fix incorrect argument initialization 2024-08-05 23:08:36 +02:00
Manuel Thalmann e05cf27941 Ensure Arguments contains an object 2024-08-05 22:51:29 +02:00
Manuel Thalmann f6d81c14b5 Fix argument redirection 2024-08-05 22:49:44 +02:00
Manuel Thalmann 6cf83d1a70 Fix non-functioning script 2024-08-05 22:45:17 +02:00
Manuel Thalmann 129b79d33c Allow running further installer actions within an installer 2024-08-05 22:29:20 +02:00
Manuel Thalmann 06297fd9eb Refactor windows configuration script 2024-08-05 20:07:39 +02:00
Manuel Thalmann 8b0471d049 Refactor software script environment 2024-08-05 00:07:41 +02:00
Manuel Thalmann b25b760f7d Set CONFIG_MODULE to full path by default 2024-08-02 01:57:31 +02:00
Manuel Thalmann 7f0e9df340 Enter next stage after configuration 2024-08-02 01:44:56 +02:00
Manuel Thalmann cc2cbcaecb Make config module persist in WSL 2024-08-02 00:47:33 +02:00
Manuel Thalmann 05820920a0 Ensure arguments are passed to fish 2024-08-01 23:36:03 +02:00
Manuel Thalmann c3f79fe92b Fix installer script structure 2024-08-01 23:34:35 +02:00
Manuel Thalmann 329458caa7 Declare InstallerAction in a separate file 2024-08-01 22:52:51 +02:00
Manuel Thalmann e7c6c8106c Ensure necessary modules are imported 2024-08-01 21:49:46 +02:00
Manuel Thalmann 775e88ad82 Import SetupStage enum into installation module 2024-08-01 21:32:33 +02:00
Manuel Thalmann ea94c6fa10 Pause on error by default 2024-08-01 21:08:31 +02:00
Manuel Thalmann edd9168b10 Display the software name during installation 2024-08-01 21:06:03 +02:00
Manuel Thalmann 1fcf4ef21e Fix non-functioning command 2024-08-01 20:34:55 +02:00
Manuel Thalmann 9b59ae9c5a Remove non-existent script 2024-08-01 19:10:10 +02:00
Manuel Thalmann 379970e3f6 Nest installation functions in a module 2024-08-01 19:02:12 +02:00
Manuel Thalmann 7ae59c021a Install winget if nonexistent 2024-08-01 18:58:33 +02:00
Manuel Thalmann 066b9b8b7e Use the new commands 2024-08-01 18:36:47 +02:00
Manuel Thalmann c1ac5d2669 Add dedicated commands for checking software 2024-08-01 18:35:45 +02:00
Manuel Thalmann e8b7977d2a Add a script for managing software 2024-08-01 18:24:26 +02:00
Manuel Thalmann fa67e12fa3 Fix nix installation check 2024-08-01 18:05:10 +02:00
Manuel Thalmann 4807c6f8e8 Make nix visible to WSL 2024-08-01 18:03:48 +02:00
Manuel Thalmann 15acc53389 Add a function for getting the users to create 2024-08-01 17:56:42 +02:00
Manuel Thalmann f8fe78936c Rename the file containing software functions 2024-08-01 17:38:59 +02:00
Manuel Thalmann c952b1701d Configure clock for dualboot systems 2024-08-01 16:32:03 +02:00
Manuel Thalmann 1a4e294750 Enter configuration stage if nix exists 2024-08-01 16:28:48 +02:00
Manuel Thalmann 3602cbbf83 Reboot WSL to pick up nix 2024-08-01 16:25:18 +02:00
Manuel Thalmann 600ad30a55 Add a function for retrieving nix options 2024-08-01 16:12:58 +02:00
Manuel Thalmann 33297747b8 Make CONFIG_MODULE available in WSL 2024-08-01 14:39:44 +02:00
Manuel Thalmann bd6964a37b Install WSL and nix by default 2024-08-01 14:06:40 +02:00
Manuel Thalmann bdf5254f66 Rename config module file 2024-08-01 12:39:27 +02:00
Manuel Thalmann d48d4a08df Reword log messages 2024-08-01 12:32:43 +02:00
Manuel Thalmann 9921890e4d Fix syntax error 2024-08-01 12:31:25 +02:00
Manuel Thalmann b97ccd863c Import scripting module inside the PowerManagement module 2024-08-01 12:24:28 +02:00
Manuel Thalmann 0adace7d6e Add scripts for updating windows 2024-08-01 02:59:32 +02:00
Manuel Thalmann 6793736c3a Fix errors in the PowerManagement module 2024-08-01 02:19:05 +02:00
Manuel Thalmann e67122b20b Fix syntax error 2024-08-01 01:22:23 +02:00
Manuel Thalmann 54b8d227ff Fix incorrect documentation comment 2024-07-31 23:10:21 +02:00
Manuel Thalmann 2ead5ea7ad Fix handling of setup stages 2024-07-31 22:33:37 +02:00
Manuel Thalmann 7fcb36dd1c Set registry values properly 2024-07-31 22:33:16 +02:00
Manuel Thalmann f0f43a30bd Display console output of hooks 2024-07-31 22:18:47 +02:00
Manuel Thalmann 76cb8e5125 Store stages using their name 2024-07-31 16:52:49 +02:00
Manuel Thalmann a4b88c183d Refactor the installation loop architecture 2024-07-31 16:25:32 +02:00
Manuel Thalmann d6919a2c98 Implement install loop properly 2024-07-31 16:15:09 +02:00
Manuel Thalmann 5de8554b13 Implement the windows installation in a loop 2024-07-31 16:09:50 +02:00
Manuel Thalmann ed3455ffb1 Recreate script to first install pwsh 2024-07-31 15:52:41 +02:00
Manuel Thalmann 3f6700b98e Normalize script formatting 2024-07-31 15:52:23 +02:00
Manuel Thalmann add008c791 Add a script for managing setup options 2024-07-31 15:42:02 +02:00
Manuel Thalmann c0b215bcce Add a script for rebooting the computer 2024-07-31 15:41:45 +02:00
Manuel Thalmann 73dbb502ba Add a separate script for injecting values into scripts 2024-07-31 14:55:00 +02:00
Manuel Thalmann 3f24abdb89 Add a script for checking for installed choco packages 2024-07-31 14:53:21 +02:00
Manuel Thalmann 08a8ef4b96 Copy pwsh to newly setup windows systems 2024-07-31 14:47:42 +02:00
Manuel Thalmann 3be5bd7535 Rename old windows installation script 2024-07-30 18:47:01 +02:00
Manuel Thalmann 9a2a78fb76 Add a function for executing hooks 2024-07-30 18:34:19 +02:00
Manuel Thalmann 87ef1167fe Enable rclone services properly 2024-07-30 17:42:29 +02:00
Manuel Thalmann aa958b2656 Disable root bash login during installation 2024-07-30 00:54:43 +02:00
Manuel Thalmann 01ae7ce2d0 Silence unnecessary output 2024-07-30 00:53:20 +02:00
Manuel Thalmann 069c8a3330 Install vscode extensions for each user 2024-07-30 00:53:10 +02:00
Manuel Thalmann 882aac5c30 Fix installation of brave extensions 2024-07-30 00:52:55 +02:00
Manuel Thalmann 0da7130de1 Fix non-functioning installation scripts 2024-07-30 00:52:35 +02:00
Manuel Thalmann 87c5c5d140 Fix missing variables 2024-07-30 00:51:50 +02:00
Manuel Thalmann a2b8c2b395 Fix non-functioning command 2024-07-29 23:46:14 +02:00
Manuel Thalmann 4c9aca739d Load dualboot sizes from nix 2024-07-29 01:44:12 +02:00
Manuel Thalmann 4101a6105f Allow overwriting packages 2024-07-28 23:45:30 +02:00
Manuel Thalmann f6671515dd Generate locales in proper system 2024-07-28 23:45:09 +02:00
Manuel Thalmann 4326044af9 Execute userConfig for current user only once 2024-07-28 23:44:58 +02:00
Manuel Thalmann 69ac0b990c Prevent userConfig from execute multiple times 2024-07-28 23:43:11 +02:00
Manuel Thalmann 4daf222ec3 Nest Windows setup in a function 2024-07-28 20:52:07 +02:00
Manuel Thalmann b5e798564b Inherit missing variable 2024-07-28 17:01:24 +02:00
Manuel Thalmann 566a3f025b Fix aliae configuration 2024-07-28 16:57:47 +02:00
Manuel Thalmann 18b4405441 Fix broken profile creation 2024-07-28 16:57:36 +02:00
Manuel Thalmann a790f16c7f Inherit missing variables 2024-07-28 15:25:03 +02:00
Manuel Thalmann 07ba5dfeb6 Mark all fish scripts as executable 2024-07-28 12:32:08 +02:00
Manuel Thalmann 58e97cb051 Make nix config accessible in scripts 2024-07-28 12:16:01 +02:00
Manuel Thalmann 6fef809d62 Run installer script after initialization 2024-07-27 23:18:04 +02:00
Manuel Thalmann 6147037a97 Pass boot script path via env variable 2024-07-27 18:59:47 +02:00
Manuel Thalmann 5b6db497e4 Copy repository settings 2024-07-26 14:43:02 +02:00
Manuel Thalmann 5653cea25a Configure for current user if none is specified 2024-07-20 14:06:25 +02:00
Manuel Thalmann 61865cd615 Remove unnecessary statement 2024-07-20 14:04:09 +02:00
Manuel Thalmann 96e1bde7a0 Add a function for checking whether a configuration is applied 2024-07-20 14:03:35 +02:00
Manuel Thalmann 4418e99219 Remove default value of CONFIG_MODULE 2024-07-20 14:02:36 +02:00
Manuel Thalmann 2d90b90114 Remove necessity of nix config 2024-07-20 13:54:04 +02:00
Manuel Thalmann 02e4c18f6c Create rclone syncs during setup 2024-07-20 13:47:07 +02:00
Manuel Thalmann 0fba56a299 Preserve environment while running dbus session 2024-07-20 05:14:09 +02:00
Manuel Thalmann f267b9d023 Fix typo 2024-07-20 05:09:42 +02:00
Manuel Thalmann 2354dcf412 Force json output appropriately 2024-07-20 05:09:13 +02:00
Manuel Thalmann 913daa8b6d Add a script draft for configuring rclone 2024-07-20 05:08:23 +02:00
Manuel Thalmann 9ebbca3b3c Load the default shell from the user config 2024-07-20 04:35:41 +02:00
Manuel Thalmann a72fd9d045 Split nix configuration properly 2024-07-20 04:31:09 +02:00
Manuel Thalmann 62a9c1e577 Fix typo 2024-07-20 04:23:51 +02:00
Manuel Thalmann 1e3d8d8338 Prevent changing the working directory 2024-07-20 04:17:42 +02:00
Manuel Thalmann 7c10903947 Add separate method for configuring git 2024-07-20 04:06:41 +02:00
Manuel Thalmann 6274ec1012 Add function for configuring user settings 2024-07-20 03:50:38 +02:00
Manuel Thalmann 566f0d711f Stop keeping track of installed software 2024-07-20 03:32:53 +02:00
Manuel Thalmann dfdc053acf Call software scripts using individual fish commands 2024-07-20 03:27:36 +02:00
Manuel Thalmann f56c6ec7a6 Remove unnecessary statement 2024-07-20 03:27:20 +02:00
Manuel Thalmann 4143dbff02 Add users before installing software 2024-07-20 03:13:17 +02:00
Manuel Thalmann 0579819444 Read config keys properly 2024-07-20 01:59:33 +02:00
Manuel Thalmann bf50ee7d59 Fix string formatting 2024-07-20 01:57:06 +02:00
Manuel Thalmann df3ba81e12 Fix malformed installer script 2024-07-20 01:51:14 +02:00
Manuel Thalmann 68703e2353 Fix variable inheritance 2024-07-20 01:46:11 +02:00
Manuel Thalmann 75f1839275 Fix configuration target 2024-07-20 01:43:53 +02:00
Manuel Thalmann e8a752eb4c Fix use of incorrect config keys 2024-07-20 01:38:53 +02:00
Manuel Thalmann ffa8c19358 Fix variable visibility 2024-07-20 01:36:22 +02:00
Manuel Thalmann c073db286f Ignore installation status by default 2024-07-20 01:32:42 +02:00
Manuel Thalmann d79edb4127 Allow user-defined git config 2024-07-20 01:31:04 +02:00
Manuel Thalmann 34523d0ae3 Allow flagging git as installed 2024-07-20 01:23:08 +02:00
Manuel Thalmann a2848a3965 Allow marking software as installed 2024-07-20 01:21:25 +02:00
Manuel Thalmann 501aa51876 Fix string formatting 2024-07-20 01:03:20 +02:00
Manuel Thalmann 074784fec2 Fix permission issues 2024-07-20 00:59:11 +02:00
Manuel Thalmann 527aa8c43b Remove test code 2024-07-20 00:47:48 +02:00
Manuel Thalmann 6bd2844efb Add users from configuration 2024-07-20 00:46:02 +02:00
Manuel Thalmann d90db841e8 Allow applying custom functions during evaluation 2024-07-20 00:36:19 +02:00
Manuel Thalmann 069d72d081 Generate locales during setup 2024-07-19 21:18:20 +02:00
Manuel Thalmann d6839aa6c4 Silence unnecessary console output 2024-07-17 16:41:42 +02:00
Manuel Thalmann 34d55d376d Fix creation of vscode config files 2024-07-17 16:39:03 +02:00
Manuel Thalmann 67f28b5b79 Load missing variable 2024-07-17 16:33:59 +02:00
Manuel Thalmann 3567eee45f Force installing iptables-nft 2024-07-17 16:18:31 +02:00
Manuel Thalmann 9d50d587c8 Load missing variable 2024-07-17 16:04:57 +02:00
Manuel Thalmann 902fc64993 Remove unnecessary statement 2024-07-17 15:59:09 +02:00
Manuel Thalmann 61258ef835 Install logo-ls only if not present 2024-07-17 15:54:53 +02:00
Manuel Thalmann 05f96a97d3 Normalize casing of firefox directory 2024-07-17 15:54:09 +02:00
Manuel Thalmann 2a6f3ea5f8 Add missing packages 2024-07-17 15:49:30 +02:00
Manuel Thalmann 303082fcc4 Fix permission error 2024-07-17 15:22:41 +02:00
Manuel Thalmann 4b37950bc8 Install bb at the end 2024-07-17 15:08:27 +02:00
Manuel Thalmann 4d0c64a8da Fix typo 2024-07-17 15:00:26 +02:00
Manuel Thalmann 35e77dd7e6 Fix incorrect paths 2024-07-17 15:00:01 +02:00
Manuel Thalmann d26786c576 Fix typo 2024-07-17 14:55:30 +02:00
Manuel Thalmann 60af9361c8 Add scripts for installing school software 2024-07-17 14:26:01 +02:00
Manuel Thalmann e2e5b9a02d Streamline installation of all further software 2024-07-17 14:18:27 +02:00
Manuel Thalmann 7461c19802 Silence unnecessary console output 2024-07-17 10:25:41 +02:00
Manuel Thalmann 1aaebb4743 Fix syntax error 2024-07-17 01:07:27 +02:00
Manuel Thalmann 18dc5894a8 Enable minegrub theme by default 2024-07-16 23:35:12 +02:00
Manuel Thalmann a4099a6639 Silence unnecessary output 2024-07-16 23:32:46 +02:00
Manuel Thalmann 8cd8ccf4b5 Fix permission error 2024-07-16 23:13:41 +02:00
Manuel Thalmann a2cf20b9ff Streamline minegrub-theme installation 2024-07-16 23:11:27 +02:00
Manuel Thalmann 49502a7055 Streamline GRUB installation 2024-07-16 22:18:39 +02:00
Manuel Thalmann a3fea2f5cc Configure nix during setup 2024-07-16 22:17:07 +02:00
Manuel Thalmann 2674c93f68 Add a hook for installing dependencies 2024-07-16 22:16:21 +02:00
Manuel Thalmann 5aa296ca7c Reorder installation steps 2024-07-16 22:15:37 +02:00
Manuel Thalmann 2846db7056 Include missing script file 2024-07-16 22:12:19 +02:00
Manuel Thalmann 3981a49810 Fix broken sddm configuration 2024-07-16 22:12:07 +02:00
Manuel Thalmann 122fe67a85 Allow specifying custom chroot command 2024-07-16 22:10:42 +02:00
Manuel Thalmann e0d41f96cf Allow executing scripts while installing OS 2024-07-16 16:13:34 +02:00
Manuel Thalmann cd5f68d0ef Implement os setup using a function 2024-07-16 15:22:15 +02:00
Manuel Thalmann f4f74a6aaa Streamline GUI app installation 2024-07-16 14:56:49 +02:00
Manuel Thalmann 6f3ed5b63a Streamline zoxide installation 2024-07-16 14:28:32 +02:00
Manuel Thalmann 19f06da930 Fix incomplete installation 2024-07-16 14:28:06 +02:00
Manuel Thalmann 802e8c6ff5 Set profile title by default 2024-07-16 14:15:05 +02:00
Manuel Thalmann 01e19d03e4 Relocate powershell profile script 2024-07-16 14:06:19 +02:00
Manuel Thalmann ecb925a6fd Replace aliae config with default bash profile 2024-07-16 03:36:51 +02:00
Manuel Thalmann 864a920ba7 Add aliae to the skel 2024-07-16 03:30:25 +02:00
Manuel Thalmann 0d909f5a5a Streamline aliae installation 2024-07-16 03:30:14 +02:00
Manuel Thalmann a27d43bc7a Copy repo using rsync 2024-07-16 01:33:08 +02:00
Manuel Thalmann 447d09fa7e Remove non-functioning symbols 2024-07-16 01:05:29 +02:00
Manuel Thalmann 7eccacc078 Automatically reboot the machine 2024-07-16 01:05:06 +02:00
Manuel Thalmann ebb96129f0 Add further initialization packages 2024-07-15 20:51:20 +02:00
Manuel Thalmann 75c29a7b86 Load git config from nix 2024-07-15 20:24:47 +02:00
Manuel Thalmann 2427b82411 Add jq to fresh Arch installations 2024-07-15 20:20:44 +02:00
Manuel Thalmann c8e133fedc Fix permission issue 2024-07-15 19:58:56 +02:00
Manuel Thalmann 95daef9ac9 Set git config system wide 2024-07-15 14:58:54 +02:00
Manuel Thalmann dc2f8ef3c3 Set git config system wide 2024-07-15 14:47:06 +02:00
Manuel Thalmann a3d2bed4cf Add a function to check whether a config is set 2024-07-15 14:14:07 +02:00
Manuel Thalmann 8979ad11e4 Pass arguments to software scripts 2024-07-15 13:56:27 +02:00
Manuel Thalmann 26c219a520 Fix typo 2024-07-15 13:27:14 +02:00
Manuel Thalmann b9081b9af4 Enable nix before setup 2024-07-15 13:26:40 +02:00
Manuel Thalmann b75bcb3e1a Fix permission issues 2024-07-15 13:23:00 +02:00
Manuel Thalmann e6beab8438 Fix syntax error 2024-07-15 13:17:00 +02:00
Manuel Thalmann d3ea49dba5 Fix typos 2024-07-15 13:15:57 +02:00
Manuel Thalmann f993f4da5e Make setup-user able to use nix 2024-07-15 13:15:07 +02:00
Manuel Thalmann 4b63af36ca Ensure nix works during setup 2024-07-15 13:13:15 +02:00
Manuel Thalmann 2edd854b44 Fix typo 2024-07-15 13:12:46 +02:00
Manuel Thalmann 77abdd244c Force network connection for installation 2024-07-15 12:45:49 +02:00
Manuel Thalmann 3a84881981 Allow package install scripts to be chained properly 2024-07-15 12:43:18 +02:00
Manuel Thalmann 36030e6eed Package essential software 2024-07-15 12:10:06 +02:00
Manuel Thalmann 484adccf9f Automatically install enumerated software 2024-07-15 12:10:30 +02:00
Manuel Thalmann 00d695b443 Remove redundant command 2024-07-15 12:10:30 +02:00
Manuel Thalmann 9da4a3a6dc Add proper packages for system setup 2024-07-14 22:34:47 +02:00
Manuel Thalmann 4c4ecefe50 Fix syntax errors 2024-07-14 22:34:06 +02:00
Manuel Thalmann 829a40e6b6 Streamline yay installation 2024-07-14 22:33:56 +02:00
Manuel Thalmann 2df5ecddcb Refactor network connection test 2024-07-14 21:37:39 +02:00
Manuel Thalmann abf19147bc Fix syntax errors 2024-07-14 10:10:14 +02:00
Manuel Thalmann ea24ad15c1 Fix syntax error 2024-07-14 10:10:04 +02:00
Manuel Thalmann ef184da8d5 Execute actual software installation 2024-07-14 10:09:57 +02:00
Manuel Thalmann a4e8faf50e Fix undefined variable 2024-07-14 10:09:37 +02:00
Manuel Thalmann d6a5f10503 Rename the yay wrapper 2024-07-14 09:48:23 +02:00
Manuel Thalmann 97039d085a Streamline pacman installation 2024-07-14 09:44:32 +02:00
Manuel Thalmann 0ce6b70b10 Streamline base-devel installation 2024-07-14 03:05:26 +02:00
Manuel Thalmann 60e55be26a Add scripts for maintaining software installation 2024-07-13 18:36:24 +02:00