Commit graph

555 commits

Author SHA1 Message Date
Manuel Thalmann c908a45eeb Install posh theme automatically 2024-08-23 23:53:48 +02:00
Manuel Thalmann a3c90aa1cf Export missing function 2024-08-23 23:50:13 +02:00
Manuel Thalmann 9d680cea15 Add scripts for changing aliae config 2024-08-23 23:44:51 +02:00
Manuel Thalmann 975430d97e Fix compatibility with mixed new line characters 2024-08-23 23:44:23 +02:00
Manuel Thalmann d5c45fafc7 Add a script for installing aliae 2024-08-23 22:38:28 +02:00
Manuel Thalmann c8aba026e0 Fetch config from proper section 2024-08-23 19:24:49 +02:00
Manuel Thalmann 2af3a6de6f Fix inheritance of user config 2024-08-23 18:28:20 +02:00
Manuel Thalmann b73b4522b2 Set user info during git setup 2024-08-23 02:01:16 +02:00
Manuel Thalmann b0fb27f638 Make all config scripts platform independent 2024-08-23 01:57:53 +02:00
Manuel Thalmann 5f9815d1d9 Allow leaving aliases unspecified 2024-08-23 01:52:25 +02:00
Manuel Thalmann 7fc0a0235c Make scripts platform independent 2024-08-23 01:52:04 +02:00
Manuel Thalmann 6b1aee97a6 Add scripts for configuring git 2024-08-23 01:43:26 +02:00
Manuel Thalmann 1f20af3bc5 Configure software implicitly 2024-08-23 01:41:32 +02:00
Manuel Thalmann fcc0529c1b Allow skipping powershell module registration 2024-08-22 23:55:00 +02:00
Manuel Thalmann ac4b6e0700 Remove user profile of OneShot user 2024-08-22 23:12:11 +02:00
Manuel Thalmann 56463a4e30 Add missing OneShotTask declaration 2024-08-22 20:41:30 +02:00
Manuel Thalmann e294564e92 Fix handling empty error messages 2024-08-22 20:12:18 +02:00
Manuel Thalmann 596bca0b4e Streamline the creation of users 2024-08-21 18:34:18 +02:00
Manuel Thalmann c0f2c25ef6 Prevent pauses in OneShot tasks 2024-08-21 18:28:50 +02:00
Manuel Thalmann 93ae3c8e3e Print commands in debug mode 2024-08-21 18:28:08 +02:00
Manuel Thalmann e6f8bdc774 Run OneShot tasks with dedicated user 2024-08-21 18:27:47 +02:00
Manuel Thalmann 18abc9e499 Prevent unnecessary errors during WSL execution 2024-08-21 14:08:26 +02:00
Manuel Thalmann 8fb126a091 Prevent initialization of nested operations 2024-08-21 03:18:31 +02:00
Manuel Thalmann 8c12cc6b84 Retry Linux path conversion for errors 2024-08-20 00:20:33 +02:00
Manuel Thalmann 5a6dd5414e Fix typo 2024-08-20 00:20:07 +02:00
Manuel Thalmann 4f75ddbfea Report unexpected path conversions 2024-08-19 02:50:41 +02:00
Manuel Thalmann be4c00e54a Load missing path 2024-08-19 02:50:19 +02:00
Manuel Thalmann c68b153401 Ensure error file can be read from 2024-08-19 02:24:45 +02:00
Manuel Thalmann f136ad35ea Streamline OneShot task handler 2024-08-19 02:24:30 +02:00
Manuel Thalmann 5a6d46153f Allow setting a timeout for clicking download buttons 2024-08-18 09:04:42 +02:00
Manuel Thalmann 11ae127dba Emit errors concerning WSL commands 2024-08-17 13:51:10 +02:00
Manuel Thalmann 9e716bce4f Emit errors using Write-Error 2024-08-17 13:49:21 +02:00
Manuel Thalmann 8d7835a8aa Convert Argument to string explicitly 2024-08-16 23:03:19 +02:00
Manuel Thalmann 55043420aa Ignore unfinished browser downloads 2024-08-16 17:57:22 +02:00
Manuel Thalmann c5bb953dc0 Allow running live scripts in debug mode 2024-08-16 15:21:41 +02:00
Manuel Thalmann 4e97645eea Refactor winget check for rare issue 2024-08-16 15:04:37 +02:00
Manuel Thalmann 050221da47 Disable Windows Update reboot only as admin 2024-08-16 14:35:35 +02:00
Manuel Thalmann 0605d9bcb0 Ensure website is loaded before download 2024-08-15 02:42:00 +02:00
Manuel Thalmann 51f352f095 Improve handling of slow websites 2024-08-14 18:47:29 +02:00
Manuel Thalmann d37cd11acd Disable auto reboot by default 2024-08-12 01:27:50 +02:00
Manuel Thalmann 8ad456c0a3 Throw an error when failing to load config 2024-08-11 18:27:06 +02:00
Manuel Thalmann f5d971922a Add scripts for installing git 2024-08-10 15:28:10 +02:00
Manuel Thalmann 8268fdd29d Redirect user for configuration properly 2024-08-10 15:16:00 +02:00
Manuel Thalmann ea53352de6 Determine installer action properly 2024-08-10 15:15:21 +02:00
Manuel Thalmann 806478db65 Redirect arguments to chocolatey properly 2024-08-10 15:13:46 +02:00
Manuel Thalmann f20523c43b Fix non-functioning OneShot script 2024-08-10 15:13:20 +02:00
Manuel Thalmann 270854f435 Fix oneshot task execution 2024-08-10 06:11:55 +02:00
Manuel Thalmann f70cad941f Allow removing the OneShot listener 2024-08-10 05:19:24 +02:00
Manuel Thalmann 4ebf214acc Force creation of sudo alias 2024-08-10 00:22:46 +02:00
Manuel Thalmann ecb34288cc Allow execution of OneShot tasks 2024-08-10 00:22:30 +02:00
Manuel Thalmann c789bd6c72 Reorder winget arguments 2024-08-09 14:45:05 +02:00
Manuel Thalmann cb2735b909 Login to users for configuration 2024-08-09 04:19:49 +02:00
Manuel Thalmann 5e4e7d4939 Add missing setup stage 2024-08-09 03:02:25 +02:00
Manuel Thalmann acb22f8a89 Make Get-Users output explicit 2024-08-09 03:02:17 +02:00
Manuel Thalmann 91d0d635a1 Add support for the sudo command 2024-08-09 02:22:45 +02:00
Manuel Thalmann aa14dd7beb Suppress unnecessary output 2024-08-08 22:24:41 +02:00
Manuel Thalmann 4b9ad41939 Make config script platform independent 2024-08-08 18:21:16 +02:00
Manuel Thalmann 62db17bda2 Add users during installation 2024-08-08 17:49:43 +02:00
Manuel Thalmann 6cd1cbb541 Add functions for retrieving attributes 2024-08-08 14:45:34 +02:00
Manuel Thalmann 9fb7c199d1 Skip scope argument by default 2024-08-08 14:22:13 +02:00
Manuel Thalmann 2943621d6c Apply the error action globally 2024-08-08 14:08:38 +02:00
Manuel Thalmann 6e1322697a Move PinnedItem script to proper location 2024-08-08 14:04:51 +02:00
Manuel Thalmann ffcda8584d Enure features for PinnedItem are installed 2024-08-08 05:21:21 +02:00
Manuel Thalmann b2619ea7a6 Fix incorrect parameter access 2024-08-08 05:03:24 +02:00
Manuel Thalmann 995959f958 Add a stage for creating users 2024-08-08 04:38:40 +02:00
Manuel Thalmann 198e984bcd Add scripts for all remaining apps 2024-08-08 04:36:35 +02:00
Manuel Thalmann 458c46575c Allow custom winget arguments 2024-08-08 04:29:00 +02:00
Manuel Thalmann ddfbe17a49 Improve winget function 2024-08-08 04:28:21 +02:00
Manuel Thalmann e29e36acf7 Add missing function 2024-08-08 04:20:11 +02:00
Manuel Thalmann b92173fa25 Refactor browser scripts 2024-08-08 03:32:03 +02:00
Manuel Thalmann 29b0de86dc Ensure Selenium is imported 2024-08-08 02:59:02 +02:00
Manuel Thalmann 16f3c72eb3 Allow skipping the Action argument 2024-08-08 02:56:28 +02:00
Manuel Thalmann cb3edcfa55 Allow removing task bar icons 2024-08-08 02:28:40 +02:00
Manuel Thalmann a8929f0707 Allow installing modules native only 2024-08-08 02:28:23 +02:00
Manuel Thalmann 875013b104 Configure user only outside of setup 2024-08-07 23:30:29 +02:00
Manuel Thalmann 1be771628b Add a script for installing Oh My Posh 2024-08-07 23:22:04 +02:00
Manuel Thalmann 7fed854044 Fix incorrect installation filter 2024-08-07 23:20:28 +02:00
Manuel Thalmann ec5ccfba2d Fix profile script for individual profiles 2024-08-07 23:18:44 +02:00
Manuel Thalmann e9be3db64e Show messages if packages are installed 2024-08-07 23:18:23 +02:00
Manuel Thalmann 64fe00e42f Fix incorrect package check 2024-08-07 23:17:07 +02:00
Manuel Thalmann 834883b5de Refactor default winget parameters 2024-08-07 22:56:42 +02:00
Manuel Thalmann 5e2e43735e Add scripts for installing PS modules 2024-08-07 22:55:25 +02:00
Manuel Thalmann dd902e4859 Allow skipping PowerShell profile files 2024-08-07 22:25:42 +02:00
Manuel Thalmann 98db57981c Resolve dependency loop 2024-08-07 21:54:58 +02:00
Manuel Thalmann 3dcaa9b1bc Remove unnecessary statement 2024-08-07 21:53:26 +02:00
Manuel Thalmann b477870829 Use internal OS detection 2024-08-07 21:35:03 +02:00
Manuel Thalmann a34aa6c143 Refactor PowerShell profile script 2024-08-07 21:34:40 +02:00
Manuel Thalmann 2dfb9d58bf Move scripts properly 2024-08-07 21:05:32 +02:00
Manuel Thalmann 36336e332d Add scripts for installing PowerShell 2024-08-07 20:30:12 +02:00
Manuel Thalmann 26ef9a12b9 Rename PowerShell script directory 2024-08-07 19:08:13 +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 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 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 e6da47a184 Mark all fish scripts as executable 2024-07-28 12:32:08 +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 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 3d4a607b2a Silence unnecessary console output 2024-07-17 16:41:42 +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 f81c36127d Normalize casing of firefox directory 2024-07-17 15:54:09 +02:00
Manuel Thalmann 766ae9a5c4 Fix incorrect paths 2024-07-17 15:00:01 +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 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 5b2939b7a5 Streamline zoxide installation 2024-07-16 14:28:32 +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 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 5cb1026fc2 Load git config from nix 2024-07-15 20:24:47 +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 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 8d1c754106 Package essential software 2024-07-15 12:10:06 +02:00
Manuel Thalmann 8055185997 Refactor network connection test 2024-07-14 21:37:39 +02:00
Manuel Thalmann 07b864ea22 Fix syntax error 2024-07-14 10:10:04 +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 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 15622e4297 Remove obsolete setup-user 2024-07-13 15:11:44 +02:00
Manuel Thalmann 92b0c4c82b Stor script name in a variable 2024-07-13 13:23:16 +02:00
Manuel Thalmann 0902465e1b Allow direct execution of the installation 2024-07-13 12:36:10 +02:00
Manuel Thalmann fcc965d6c6 Chain commands properly 2024-07-13 11:24:04 +02:00
Manuel Thalmann ba427608ef Execute partitioning in fish directly 2024-07-13 11:23:14 +02:00
Manuel Thalmann 8715109e6e Perform partitioning and repo-cloning in common setup 2024-07-13 10:59:09 +02:00
Manuel Thalmann 60d3556f10 Automatically create a setup user 2024-07-13 09:52:30 +02:00
Manuel Thalmann e017d8fb64 Prevent dangling tmux sessions 2024-07-12 00:40:48 +02:00
Manuel Thalmann 5cfb4ee184 Wait for internet connection before starting the setup 2024-07-12 00:39:14 +02:00
Manuel Thalmann 7956df2e36 Implicitly produce raw output 2024-07-11 21:01:39 +02:00
Manuel Thalmann 42c7d24198 Prefix valhalla related settings 2024-07-11 19:31:50 +02:00
Manuel Thalmann 2ca85d797b Use source instead of dot notation 2024-07-09 04:00:26 +02:00
Manuel Thalmann d4fa8f2ebd Simplify the creation of hooks 2024-07-09 03:57:03 +02:00
Manuel Thalmann 73d72c569e Load language settings from the config 2024-07-09 02:22:12 +02:00
Manuel Thalmann d397335584 Fix incorrect file path 2024-07-08 02:48:29 +02:00
Manuel Thalmann eccebe5b17 Rename partitioning modules to config 2024-07-08 01:09:31 +02:00