Commit graph

506 commits

Author SHA1 Message Date
Manuel Thalmann 2bbf144460 Allow execution of OneShot tasks 2024-08-10 00:22:30 +02:00
Manuel Thalmann c0d44d442b Reorder winget arguments 2024-08-09 14:45:05 +02:00
Manuel Thalmann 461e532ec2 Login to users for configuration 2024-08-09 04:19:49 +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 fafe6e6d9b Add support for the sudo command 2024-08-09 02:22:45 +02:00
Manuel Thalmann a5c44dc34e Suppress unnecessary output 2024-08-08 22:24:41 +02:00
Manuel Thalmann eacf4f69fc Make config script platform independent 2024-08-08 18:21:16 +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 9d9a59d424 Skip scope argument by default 2024-08-08 14:22:13 +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 29498e8646 Enure features for PinnedItem are installed 2024-08-08 05:21:21 +02:00
Manuel Thalmann ea6cdb8118 Fix incorrect parameter access 2024-08-08 05:03:24 +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 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 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 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 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 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 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 cc5860bdd2 Mark all fish scripts as executable 2024-07-28 12:32:08 +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 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
Manuel Thalmann 4222fdd3eb Preserve environment while running dbus session 2024-07-20 05:14:09 +02:00
Manuel Thalmann 2d7e082884 Fix typo 2024-07-20 05:09:42 +02:00
Manuel Thalmann 85d3178d02 Force json output appropriately 2024-07-20 05:09:13 +02:00
Manuel Thalmann 4ed3f2bb4d Add a script draft for configuring rclone 2024-07-20 05:08:23 +02:00
Manuel Thalmann 5d9f54fb54 Load the default shell from the user config 2024-07-20 04:35:41 +02:00
Manuel Thalmann 24e33fdec5 Split nix configuration properly 2024-07-20 04:31:09 +02:00
Manuel Thalmann e7a437000a Fix typo 2024-07-20 04:23:51 +02:00
Manuel Thalmann 6ea17bc7f7 Prevent changing the working directory 2024-07-20 04:17:42 +02:00
Manuel Thalmann a88f471014 Add separate method for configuring git 2024-07-20 04:06:41 +02:00
Manuel Thalmann 6d288da9f0 Add function for configuring user settings 2024-07-20 03:50:38 +02:00
Manuel Thalmann cd4f2ab021 Stop keeping track of installed software 2024-07-20 03:32:53 +02:00
Manuel Thalmann c8ace7e763 Call software scripts using individual fish commands 2024-07-20 03:27:36 +02:00
Manuel Thalmann af7c9366e4 Remove unnecessary statement 2024-07-20 03:27:20 +02:00
Manuel Thalmann 6257b8acc9 Add users before installing software 2024-07-20 03:13:17 +02:00
Manuel Thalmann 364498e0a5 Read config keys properly 2024-07-20 01:59:33 +02:00
Manuel Thalmann b6a355e0e0 Fix string formatting 2024-07-20 01:57:06 +02:00
Manuel Thalmann 8449247e07 Fix malformed installer script 2024-07-20 01:51:14 +02:00
Manuel Thalmann c7086bee30 Fix variable inheritance 2024-07-20 01:46:11 +02:00
Manuel Thalmann 8014cdbdcf Fix configuration target 2024-07-20 01:43:53 +02:00
Manuel Thalmann 7a10c25336 Fix use of incorrect config keys 2024-07-20 01:38:53 +02:00
Manuel Thalmann bd4f669995 Fix variable visibility 2024-07-20 01:36:22 +02:00
Manuel Thalmann 1f0a8b8abe Ignore installation status by default 2024-07-20 01:32:42 +02:00
Manuel Thalmann 98d120e6a7 Allow user-defined git config 2024-07-20 01:31:04 +02:00
Manuel Thalmann 8ced9a2ecc Allow flagging git as installed 2024-07-20 01:23:08 +02:00
Manuel Thalmann e478b63016 Allow marking software as installed 2024-07-20 01:21:25 +02:00
Manuel Thalmann 9623a51244 Fix string formatting 2024-07-20 01:03:20 +02:00
Manuel Thalmann a753eb11cb Fix permission issues 2024-07-20 00:59:11 +02:00
Manuel Thalmann 79245f0b3b Remove test code 2024-07-20 00:47:48 +02:00
Manuel Thalmann 7613a46ae9 Add users from configuration 2024-07-20 00:46:02 +02:00
Manuel Thalmann fc2acab5d1 Allow applying custom functions during evaluation 2024-07-20 00:36:19 +02:00
Manuel Thalmann 96c33aadfb Silence unnecessary console output 2024-07-17 16:41:42 +02:00
Manuel Thalmann 3b86c0b09d Load missing variable 2024-07-17 16:04:57 +02:00
Manuel Thalmann 0bb6177ada Remove unnecessary statement 2024-07-17 15:59:09 +02:00
Manuel Thalmann ca67676767 Normalize casing of firefox directory 2024-07-17 15:54:09 +02:00
Manuel Thalmann 58599c42c0 Fix incorrect paths 2024-07-17 15:00:01 +02:00
Manuel Thalmann 287a1085a5 Add scripts for installing school software 2024-07-17 14:26:01 +02:00
Manuel Thalmann 589475459d Streamline installation of all further software 2024-07-17 14:18:27 +02:00
Manuel Thalmann 15dac6f927 Silence unnecessary console output 2024-07-17 10:25:41 +02:00
Manuel Thalmann 4d67f44a6a Fix syntax error 2024-07-17 01:07:27 +02:00
Manuel Thalmann 05078e8007 Enable minegrub theme by default 2024-07-16 23:35:12 +02:00
Manuel Thalmann a2e23fc13f Silence unnecessary output 2024-07-16 23:32:46 +02:00
Manuel Thalmann 61fe1c0436 Fix permission error 2024-07-16 23:13:41 +02:00
Manuel Thalmann 43ba09898a Streamline minegrub-theme installation 2024-07-16 23:11:27 +02:00
Manuel Thalmann a0cce4780a Streamline GRUB installation 2024-07-16 22:18:39 +02:00
Manuel Thalmann 8c4e3d5a56 Configure nix during setup 2024-07-16 22:17:07 +02:00
Manuel Thalmann 2bb45a696d Add a hook for installing dependencies 2024-07-16 22:16:21 +02:00
Manuel Thalmann 561e7378a6 Reorder installation steps 2024-07-16 22:15:37 +02:00
Manuel Thalmann a5ecb78efe Include missing script file 2024-07-16 22:12:19 +02:00
Manuel Thalmann d8bb756276 Allow specifying custom chroot command 2024-07-16 22:10:42 +02:00
Manuel Thalmann 15cdd0ed7e Allow executing scripts while installing OS 2024-07-16 16:13:34 +02:00
Manuel Thalmann 9b595fb6dd Implement os setup using a function 2024-07-16 15:22:15 +02:00
Manuel Thalmann ae2b494ea7 Streamline zoxide installation 2024-07-16 14:28:32 +02:00
Manuel Thalmann 6c59f2bff3 Set profile title by default 2024-07-16 14:15:05 +02:00
Manuel Thalmann 0723e541b3 Relocate powershell profile script 2024-07-16 14:06:19 +02:00
Manuel Thalmann 4276bfb14d Replace aliae config with default bash profile 2024-07-16 03:36:51 +02:00
Manuel Thalmann 83da4f691e Add aliae to the skel 2024-07-16 03:30:25 +02:00
Manuel Thalmann fdd154da2f Streamline aliae installation 2024-07-16 03:30:14 +02:00
Manuel Thalmann 386b3cda48 Remove non-functioning symbols 2024-07-16 01:05:29 +02:00
Manuel Thalmann a9476a88ea Automatically reboot the machine 2024-07-16 01:05:06 +02:00
Manuel Thalmann f7a1b4d9a3 Load git config from nix 2024-07-15 20:24:47 +02:00
Manuel Thalmann 882d8bd66a Set git config system wide 2024-07-15 14:58:54 +02:00
Manuel Thalmann 5fe0b463ac Set git config system wide 2024-07-15 14:47:06 +02:00
Manuel Thalmann bfb588710b Add a function to check whether a config is set 2024-07-15 14:14:07 +02:00
Manuel Thalmann 42f79af830 Pass arguments to software scripts 2024-07-15 13:56:27 +02:00
Manuel Thalmann 8d7c02824d Fix syntax error 2024-07-15 13:17:00 +02:00
Manuel Thalmann b88e23e035 Fix typos 2024-07-15 13:15:57 +02:00
Manuel Thalmann f3492f3394 Make setup-user able to use nix 2024-07-15 13:15:07 +02:00
Manuel Thalmann 00139ac83b Ensure nix works during setup 2024-07-15 13:13:15 +02:00
Manuel Thalmann c9f9b20473 Package essential software 2024-07-15 12:10:06 +02:00
Manuel Thalmann 355311425a Refactor network connection test 2024-07-14 21:37:39 +02:00
Manuel Thalmann aa10f5b6df Fix syntax error 2024-07-14 10:10:04 +02:00
Manuel Thalmann ca7c57c8f8 Add scripts for maintaining software installation 2024-07-13 18:36:24 +02:00
Manuel Thalmann b11b0312ce Enter PortValhalla before the installation 2024-07-13 17:28:30 +02:00
Manuel Thalmann 1a2516841d Fix nix on new installations 2024-07-13 17:27:53 +02:00
Manuel Thalmann f717f9595c Add a shallow installation script 2024-07-13 15:49:55 +02:00
Manuel Thalmann 26a80beb48 Create a common install script 2024-07-13 15:12:35 +02:00
Manuel Thalmann 02012c0e9b Remove obsolete setup-user 2024-07-13 15:11:44 +02:00
Manuel Thalmann 7881af68fa Stor script name in a variable 2024-07-13 13:23:16 +02:00
Manuel Thalmann e1e84f6bfe Allow direct execution of the installation 2024-07-13 12:36:10 +02:00
Manuel Thalmann 31ebfa49d5 Chain commands properly 2024-07-13 11:24:04 +02:00
Manuel Thalmann 96a45623d6 Execute partitioning in fish directly 2024-07-13 11:23:14 +02:00
Manuel Thalmann 14090a2ecc Perform partitioning and repo-cloning in common setup 2024-07-13 10:59:09 +02:00
Manuel Thalmann 7613041bd0 Automatically create a setup user 2024-07-13 09:52:30 +02:00
Manuel Thalmann 1bfce6cfcb Prevent dangling tmux sessions 2024-07-12 00:40:48 +02:00
Manuel Thalmann 02abcde438 Wait for internet connection before starting the setup 2024-07-12 00:39:14 +02:00
Manuel Thalmann a9902e88f1 Implicitly produce raw output 2024-07-11 21:01:39 +02:00
Manuel Thalmann 665a5d2f6e Prefix valhalla related settings 2024-07-11 19:31:50 +02:00
Manuel Thalmann e7f8a6558f Use source instead of dot notation 2024-07-09 04:00:26 +02:00
Manuel Thalmann 22d908d8a5 Simplify the creation of hooks 2024-07-09 03:57:03 +02:00
Manuel Thalmann 1afb320383 Load language settings from the config 2024-07-09 02:22:12 +02:00
Manuel Thalmann 86aa72cab4 Fix incorrect file path 2024-07-08 02:48:29 +02:00
Manuel Thalmann 7338763f21 Rename partitioning modules to config 2024-07-08 01:09:31 +02:00
Manuel Thalmann 4bd86f8de7 Generate partitioning scripts using nix 2024-06-22 23:32:57 +02:00
Manuel Thalmann b12a7dcf0e Improve the grub manipulation script 2024-06-19 14:09:48 +02:00
Manuel Thalmann f2414083d6 Set modeset parameter in mkinitcpio 2024-06-19 13:56:37 +02:00
Manuel Thalmann 063fae07d8 Regenerate grub config after enabling verbose mode 2024-04-23 15:36:14 +02:00
Manuel Thalmann e38d2e66ee Allow setting cache duration for individual syncs 2024-04-20 12:55:58 +02:00
Manuel Thalmann 3e3bcc1f4f Add a script for making grub verbose 2024-04-12 08:33:16 +02:00
Manuel Thalmann eacf8f9eb9 Install zoxide 2024-04-04 17:54:18 +02:00
Manuel Thalmann 0fa5492e68 Reduce redundancy 2024-04-04 16:52:29 +02:00
Manuel Thalmann 8239b01fd6 Pre-install vscode extensions 2024-03-25 19:54:26 +01:00
Manuel Thalmann c170990a6d Fix non-functioning bash profile script 2024-03-25 19:41:48 +01:00
Manuel Thalmann e1968d7af1 Add missing command line argument 2024-03-25 19:32:59 +01:00
Manuel Thalmann 02e7cc995b Install aliae completion globally 2024-03-25 19:30:18 +01:00
Manuel Thalmann 72c29f3539 Fix non-functioning profile script call in bash 2024-03-25 19:19:27 +01:00
Manuel Thalmann 694fac8edb Fix incorrect file extension for fish 2024-03-25 18:07:40 +01:00
Manuel Thalmann c02595a257 Install Oh My Posh to pwsh as root 2024-03-25 18:02:16 +01:00
Manuel Thalmann be639ff3d0 Don't load profile while configuring Oh My Posh 2024-03-25 18:00:52 +01:00
Manuel Thalmann 3b2a5fb9cf Ignore non-functioning virsh network 2024-03-25 03:01:29 +01:00
Manuel Thalmann dea9095573 Accept profile statements from arguments by default 2024-03-25 01:22:36 +01:00
Manuel Thalmann 3916255544 Fix non-functioning hook method 2024-03-24 05:35:13 +01:00
Manuel Thalmann a14a29ed28 Partition disks using a function 2024-03-23 17:29:25 +01:00
Manuel Thalmann bb9f94a354 Create a script for running hooks 2024-03-23 17:23:45 +01:00
Manuel Thalmann 9af0272ae7 Remove unnecessary statement 2024-03-23 17:21:51 +01:00
Manuel Thalmann def176c089 Create separate script for configuring nvidia on Arch 2024-03-23 17:08:58 +01:00
Manuel Thalmann 9a1a238514 Split script for installing microsoft fonts on Debian 2024-03-23 17:01:50 +01:00
Manuel Thalmann 182727eb8d Fix incorrect settings 2024-03-23 04:56:49 +01:00
Manuel Thalmann a0e9c03525 Install Powershell profile statements globally 2024-03-23 04:55:05 +01:00
Manuel Thalmann 8e9bbc75f3 Fix non-functioning script 2024-03-21 04:30:07 +01:00
Manuel Thalmann c9971d32e0 Install aliae for the default and the current user 2024-03-21 00:13:07 +01:00
Manuel Thalmann a4535eaf05 Fix PowerShell config installation 2024-03-21 00:10:54 +01:00
Manuel Thalmann 9918465b27 Allow installing PowerShell scripts for the default user 2024-03-21 00:06:34 +01:00
Manuel Thalmann 0481482f23 Remove unnecessary script parameters 2024-03-21 00:00:33 +01:00
Manuel Thalmann 96dff277e6 Rename PowerShell config directory to conf.d 2024-03-20 23:57:48 +01:00
Manuel Thalmann e75a0c8420 Make PowerShell profile installation cross platform 2024-03-20 23:53:49 +01:00
Manuel Thalmann cb0807ee72 Fix typo 2024-03-20 23:52:15 +01:00
Manuel Thalmann dab33f679b Allow global installation of powershell configs 2024-03-20 23:49:21 +01:00
Manuel Thalmann cdfbf46282 Simplify powershell profile 2024-03-20 23:15:51 +01:00
Manuel Thalmann 4ec1fdde19 Fix pyenv installation 2024-03-20 23:08:15 +01:00
Manuel Thalmann 7edd370b8a Relocate pipenv installation file accordingly 2024-03-20 23:04:25 +01:00
Manuel Thalmann b890c0d9c6 Remove duplicate code 2024-03-20 23:00:51 +01:00
Manuel Thalmann 696988e187 Fix malformed environment variable 2024-03-20 22:58:16 +01:00
Manuel Thalmann d1611db116 Overwrite categorized profile files 2024-03-20 22:56:04 +01:00
Manuel Thalmann b91b80d1d3 Fix permissions of local themes directory 2024-03-20 22:48:58 +01:00
Manuel Thalmann 41cc9273db Run install as root 2024-03-20 22:46:39 +01:00
Manuel Thalmann f491187a42 Fix typo 2024-03-20 22:46:22 +01:00
Manuel Thalmann 8cea8ce958 Remove unnecessary statement 2024-03-20 22:45:09 +01:00
Manuel Thalmann 92bfb452aa Fix incorrect PowerShell profile path 2024-03-20 22:45:02 +01:00
Manuel Thalmann 59dbc46b88 Add git-auf-deutsch for all shells 2024-03-20 22:43:38 +01:00
Manuel Thalmann 860a9372cc Fix malformed config 2024-03-20 22:42:38 +01:00
Manuel Thalmann 391d5d9097 Switch from nvs to n 2024-03-20 22:40:37 +01:00