Commit graph

674 commits

Author SHA1 Message Date
de64f0e4cb Configure the users during installation 2024-09-13 17:36:29 +02:00
975a0af096 Chain remaining commands 2024-09-13 15:31:42 +02:00
23885731ae Remove unnecessary hook 2024-09-13 15:12:05 +02:00
7818ad9065 Chain all commands 2024-09-13 15:10:29 +02:00
5b28e2da8b Configure git using PowerShell script 2024-09-13 15:08:18 +02:00
5add7bfae2 Install global bash profiles globally 2024-09-13 15:07:49 +02:00
939ca1082e Fix eval-flake for paths containing spaces 2024-09-13 15:07:22 +02:00
aadc8c87f8 Remove redundant script call 2024-09-13 15:05:51 +02:00
32fabaf42a Forcibly remove setup user 2024-09-13 15:05:17 +02:00
681366ff8c Make module installation compatible with Linux 2024-09-13 14:54:47 +02:00
a7be9fa736 Refactor the software install workflow 2024-09-13 14:47:07 +02:00
0ebca3e82a Remove the installDrivers step from OS installations 2024-09-13 00:30:30 +02:00
3f29764944 Create a dedicated script for deploying software actions 2024-09-12 23:17:04 +02:00
c6877056de Read config from linux key 2024-09-12 21:48:05 +02:00
e39d0dc2c2 Add groups to users properly 2024-09-12 21:47:50 +02:00
aa311a5ad5 Redirect CONFIG_NAME variable properly 2024-09-12 21:47:29 +02:00
5dc8d6d3b4 Ensure git repository can be read properly 2024-09-12 21:47:13 +02:00
169e89d774 Fix incorrect message 2024-09-12 21:46:57 +02:00
3bf64ff7e5 Pause before reboot when debugging 2024-09-12 19:04:37 +02:00
dfe292b8d1 Ensure fish scripts exit early 2024-09-12 18:52:03 +02:00
f0504b9960 Allow removing setup options 2024-09-12 18:44:58 +02:00
34d0eff73f Fix execution of OS scripts 2024-09-12 18:44:40 +02:00
afbff7ac8c Execute partition script using shebang 2024-09-12 18:44:14 +02:00
438c0b1cdf Add a script for creating backups 2024-09-10 00:37:13 +02:00
ab4ce633db Force profile selection for Windows installation actions 2024-09-09 00:04:06 +02:00
85347231e1 Add a function for selecting the profile 2024-09-08 17:47:49 +02:00
90e876699d Make Oh-My-Posh theme location dynamic 2024-09-08 17:42:11 +02:00
4b09cd1f87 Improve performance 2024-09-08 17:41:30 +02:00
eae19dab1f Update Selenium to the newest version 2024-09-08 17:12:01 +02:00
5a1b1cd8c1 Switch to named flakes 2024-09-08 17:09:01 +02:00
9c872432a8 Add code for cleaning up after installations 2024-09-03 22:15:15 +02:00
e806e0cb2a Add functions for uninstalling packages 2024-09-03 22:14:21 +02:00
71e46db226 Remove unnecessary policy change 2024-09-03 16:31:12 +02:00
c6d261bc89 Ask for live scripts only once 2024-09-03 12:08:35 +02:00
d2c6737798 Allow testing winget packages with specific scope 2024-09-03 01:16:42 +02:00
8cf7791723 Fix non-functioning profile script 2024-08-28 04:39:15 +02:00
a81727f696 Ensure 7z is installed for backups 2024-08-28 04:38:56 +02:00
f5c2d678ae Add capabilities to back up apps 2024-08-28 00:37:04 +02:00
5dcf809caf Allow specifying a backup action 2024-08-28 00:29:33 +02:00
f31eed5616 Make the install script action agnostic 2024-08-28 00:03:28 +02:00
208f48debe Silence errors concerning empty aliae configurations 2024-08-27 22:35:31 +02:00
080812b90a Make Operations script cross platform 2024-08-27 22:27:44 +02:00
0259a55c79 Handle OneShot tasks only on Windows 2024-08-27 21:32:49 +02:00
51106d8012 Add tools for managing aliae 2024-08-27 18:58:33 +02:00
d79eba132c Fix non-functioning aliae installation 2024-08-27 18:55:12 +02:00
caffde0a01 Prevent unnecessary file creation 2024-08-27 14:06:56 +02:00
b4e0ed7db8 Execute OneShot tasks in any operation 2024-08-27 14:05:16 +02:00
e828cb1988 Force the use of the managed distribution 2024-08-27 04:26:25 +02:00
3185e67a59 Initialize operation for all users 2024-08-27 04:24:29 +02:00
1b0c715514 Handle initialization in operation code 2024-08-27 04:15:37 +02:00
267ebd5c5b Execute script non-interactive during OneShot tasks 2024-08-27 03:50:08 +02:00
bd764a1429 Exit script after running OneShot task 2024-08-27 03:45:44 +02:00
2220ca3138 Fix non-functioning NoProfile argument 2024-08-27 02:09:04 +02:00
f25e892faf Prevent unnecessary installation actions 2024-08-27 01:57:46 +02:00
9ba134d202 Only install PowerShell module if necessary 2024-08-27 01:25:32 +02:00
6ab0df4dc8 Add further functionality to the WSL script 2024-08-27 00:38:46 +02:00
380b70322c Create a separate script for WSL interaction 2024-08-26 23:33:46 +02:00
06d9de5b30 Keep Windows fixes separate 2024-08-24 16:56:29 +02:00
7eb0c61cf6 Remove WSL after operation 2024-08-24 16:52:41 +02:00
a5f1f06ca0 Remove unused resources after user setup 2024-08-24 16:15:10 +02:00
5caccb6177 Determine name of setup user properly 2024-08-24 14:01:05 +02:00
26d683b4c5 Make OMP configuration platform independent 2024-08-24 13:27:48 +02:00
49e18cb6ca Add a function for creating shortcuts 2024-08-24 04:18:33 +02:00
6f2e9b894e Create separate option holding win users 2024-08-24 03:25:28 +02:00
46a8126298 Prevent unnecessary config evaluation 2024-08-24 01:31:39 +02:00
a9daaa9d2b Install vscode extensions by default 2024-08-24 01:16:56 +02:00
bf9757043a Load theme file from WSL properly 2024-08-24 00:59:59 +02:00
b9b192c42a Update aliae configuration script 2024-08-24 00:42:57 +02:00
e4f3abca2f Strip duplicate variables and aliases 2024-08-24 00:08:58 +02:00
c908a45eeb Install posh theme automatically 2024-08-23 23:53:48 +02:00
a3c90aa1cf Export missing function 2024-08-23 23:50:13 +02:00
9d680cea15 Add scripts for changing aliae config 2024-08-23 23:44:51 +02:00
975430d97e Fix compatibility with mixed new line characters 2024-08-23 23:44:23 +02:00
d5c45fafc7 Add a script for installing aliae 2024-08-23 22:38:28 +02:00
c8aba026e0 Fetch config from proper section 2024-08-23 19:24:49 +02:00
2af3a6de6f Fix inheritance of user config 2024-08-23 18:28:20 +02:00
b73b4522b2 Set user info during git setup 2024-08-23 02:01:16 +02:00
b0fb27f638 Make all config scripts platform independent 2024-08-23 01:57:53 +02:00
5f9815d1d9 Allow leaving aliases unspecified 2024-08-23 01:52:25 +02:00
7fc0a0235c Make scripts platform independent 2024-08-23 01:52:04 +02:00
6b1aee97a6 Add scripts for configuring git 2024-08-23 01:43:26 +02:00
1f20af3bc5 Configure software implicitly 2024-08-23 01:41:32 +02:00
fcc0529c1b Allow skipping powershell module registration 2024-08-22 23:55:00 +02:00
ac4b6e0700 Remove user profile of OneShot user 2024-08-22 23:12:11 +02:00
56463a4e30 Add missing OneShotTask declaration 2024-08-22 20:41:30 +02:00
e294564e92 Fix handling empty error messages 2024-08-22 20:12:18 +02:00
596bca0b4e Streamline the creation of users 2024-08-21 18:34:18 +02:00
c0f2c25ef6 Prevent pauses in OneShot tasks 2024-08-21 18:28:50 +02:00
93ae3c8e3e Print commands in debug mode 2024-08-21 18:28:08 +02:00
e6f8bdc774 Run OneShot tasks with dedicated user 2024-08-21 18:27:47 +02:00
18abc9e499 Prevent unnecessary errors during WSL execution 2024-08-21 14:08:26 +02:00
8fb126a091 Prevent initialization of nested operations 2024-08-21 03:18:31 +02:00
8c12cc6b84 Retry Linux path conversion for errors 2024-08-20 00:20:33 +02:00
5a6dd5414e Fix typo 2024-08-20 00:20:07 +02:00
4f75ddbfea Report unexpected path conversions 2024-08-19 02:50:41 +02:00
be4c00e54a Load missing path 2024-08-19 02:50:19 +02:00
c68b153401 Ensure error file can be read from 2024-08-19 02:24:45 +02:00
f136ad35ea Streamline OneShot task handler 2024-08-19 02:24:30 +02:00
5a6d46153f Allow setting a timeout for clicking download buttons 2024-08-18 09:04:42 +02:00
11ae127dba Emit errors concerning WSL commands 2024-08-17 13:51:10 +02:00
9e716bce4f Emit errors using Write-Error 2024-08-17 13:49:21 +02:00
8d7835a8aa Convert Argument to string explicitly 2024-08-16 23:03:19 +02:00
55043420aa Ignore unfinished browser downloads 2024-08-16 17:57:22 +02:00
c5bb953dc0 Allow running live scripts in debug mode 2024-08-16 15:21:41 +02:00
4e97645eea Refactor winget check for rare issue 2024-08-16 15:04:37 +02:00
050221da47 Disable Windows Update reboot only as admin 2024-08-16 14:35:35 +02:00
0605d9bcb0 Ensure website is loaded before download 2024-08-15 02:42:00 +02:00
51f352f095 Improve handling of slow websites 2024-08-14 18:47:29 +02:00
d37cd11acd Disable auto reboot by default 2024-08-12 01:27:50 +02:00
8ad456c0a3 Throw an error when failing to load config 2024-08-11 18:27:06 +02:00
f5d971922a Add scripts for installing git 2024-08-10 15:28:10 +02:00
8268fdd29d Redirect user for configuration properly 2024-08-10 15:16:00 +02:00
ea53352de6 Determine installer action properly 2024-08-10 15:15:21 +02:00
806478db65 Redirect arguments to chocolatey properly 2024-08-10 15:13:46 +02:00
f20523c43b Fix non-functioning OneShot script 2024-08-10 15:13:20 +02:00
270854f435 Fix oneshot task execution 2024-08-10 06:11:55 +02:00
f70cad941f Allow removing the OneShot listener 2024-08-10 05:19:24 +02:00
4ebf214acc Force creation of sudo alias 2024-08-10 00:22:46 +02:00
ecb34288cc Allow execution of OneShot tasks 2024-08-10 00:22:30 +02:00
c789bd6c72 Reorder winget arguments 2024-08-09 14:45:05 +02:00
cb2735b909 Login to users for configuration 2024-08-09 04:19:49 +02:00
5e4e7d4939 Add missing setup stage 2024-08-09 03:02:25 +02:00
acb22f8a89 Make Get-Users output explicit 2024-08-09 03:02:17 +02:00
91d0d635a1 Add support for the sudo command 2024-08-09 02:22:45 +02:00
aa14dd7beb Suppress unnecessary output 2024-08-08 22:24:41 +02:00
4b9ad41939 Make config script platform independent 2024-08-08 18:21:16 +02:00
62db17bda2 Add users during installation 2024-08-08 17:49:43 +02:00
6cd1cbb541 Add functions for retrieving attributes 2024-08-08 14:45:34 +02:00
9fb7c199d1 Skip scope argument by default 2024-08-08 14:22:13 +02:00
2943621d6c Apply the error action globally 2024-08-08 14:08:38 +02:00
6e1322697a Move PinnedItem script to proper location 2024-08-08 14:04:51 +02:00
ffcda8584d Enure features for PinnedItem are installed 2024-08-08 05:21:21 +02:00
b2619ea7a6 Fix incorrect parameter access 2024-08-08 05:03:24 +02:00
995959f958 Add a stage for creating users 2024-08-08 04:38:40 +02:00
198e984bcd Add scripts for all remaining apps 2024-08-08 04:36:35 +02:00
458c46575c Allow custom winget arguments 2024-08-08 04:29:00 +02:00
ddfbe17a49 Improve winget function 2024-08-08 04:28:21 +02:00
e29e36acf7 Add missing function 2024-08-08 04:20:11 +02:00
b92173fa25 Refactor browser scripts 2024-08-08 03:32:03 +02:00
29b0de86dc Ensure Selenium is imported 2024-08-08 02:59:02 +02:00
16f3c72eb3 Allow skipping the Action argument 2024-08-08 02:56:28 +02:00
cb3edcfa55 Allow removing task bar icons 2024-08-08 02:28:40 +02:00
a8929f0707 Allow installing modules native only 2024-08-08 02:28:23 +02:00
875013b104 Configure user only outside of setup 2024-08-07 23:30:29 +02:00
1be771628b Add a script for installing Oh My Posh 2024-08-07 23:22:04 +02:00
7fed854044 Fix incorrect installation filter 2024-08-07 23:20:28 +02:00
ec5ccfba2d Fix profile script for individual profiles 2024-08-07 23:18:44 +02:00
e9be3db64e Show messages if packages are installed 2024-08-07 23:18:23 +02:00
64fe00e42f Fix incorrect package check 2024-08-07 23:17:07 +02:00
834883b5de Refactor default winget parameters 2024-08-07 22:56:42 +02:00
5e2e43735e Add scripts for installing PS modules 2024-08-07 22:55:25 +02:00
dd902e4859 Allow skipping PowerShell profile files 2024-08-07 22:25:42 +02:00
98db57981c Resolve dependency loop 2024-08-07 21:54:58 +02:00
3dcaa9b1bc Remove unnecessary statement 2024-08-07 21:53:26 +02:00
b477870829 Use internal OS detection 2024-08-07 21:35:03 +02:00
a34aa6c143 Refactor PowerShell profile script 2024-08-07 21:34:40 +02:00
2dfb9d58bf Move scripts properly 2024-08-07 21:05:32 +02:00
36336e332d Add scripts for installing PowerShell 2024-08-07 20:30:12 +02:00
26ef9a12b9 Rename PowerShell script directory 2024-08-07 19:08:13 +02:00
855124c726 Enable rclone services properly 2024-07-30 17:42:29 +02:00
1efc677ed7 Disable root bash login during installation 2024-07-30 00:54:43 +02:00
2e243b488d Silence unnecessary output 2024-07-30 00:53:20 +02:00
2df6822aff Install vscode extensions for each user 2024-07-30 00:53:10 +02:00
de4ceadd9e Fix installation of brave extensions 2024-07-30 00:52:55 +02:00
056131e206 Fix non-functioning installation scripts 2024-07-30 00:52:35 +02:00
770c87a670 Fix missing variables 2024-07-30 00:51:50 +02:00
56baf02459 Execute userConfig for current user only once 2024-07-28 23:44:58 +02:00
394305a56a Prevent userConfig from execute multiple times 2024-07-28 23:43:11 +02:00
4fe0ecfe95 Inherit missing variable 2024-07-28 17:01:24 +02:00
c22384c727 Fix aliae configuration 2024-07-28 16:57:47 +02:00
e580446ca6 Fix broken profile creation 2024-07-28 16:57:36 +02:00
e6da47a184 Mark all fish scripts as executable 2024-07-28 12:32:08 +02:00
bd1c3caf95 Configure for current user if none is specified 2024-07-20 14:06:25 +02:00
3d9eef9dc6 Remove unnecessary statement 2024-07-20 14:04:09 +02:00
519d055c10 Add a function for checking whether a configuration is applied 2024-07-20 14:03:35 +02:00
c1f296a7ce Remove necessity of nix config 2024-07-20 13:54:04 +02:00
aa2e535968 Create rclone syncs during setup 2024-07-20 13:47:07 +02:00
3135643d3f Preserve environment while running dbus session 2024-07-20 05:14:09 +02:00
6898e3c26d Fix typo 2024-07-20 05:09:42 +02:00
05c3dd174c Force json output appropriately 2024-07-20 05:09:13 +02:00
e932bef303 Add a script draft for configuring rclone 2024-07-20 05:08:23 +02:00
7bd01cc1bd Load the default shell from the user config 2024-07-20 04:35:41 +02:00
2362c56fc0 Split nix configuration properly 2024-07-20 04:31:09 +02:00
8933dcc7cb Fix typo 2024-07-20 04:23:51 +02:00
66927e65d0 Prevent changing the working directory 2024-07-20 04:17:42 +02:00
3a4c2891ad Add separate method for configuring git 2024-07-20 04:06:41 +02:00
a89d9bb677 Add function for configuring user settings 2024-07-20 03:50:38 +02:00
675db97522 Stop keeping track of installed software 2024-07-20 03:32:53 +02:00
4ecfcfc6f3 Call software scripts using individual fish commands 2024-07-20 03:27:36 +02:00
406a7d970c Remove unnecessary statement 2024-07-20 03:27:20 +02:00
591eab6a57 Add users before installing software 2024-07-20 03:13:17 +02:00
ade8b2fd2a Read config keys properly 2024-07-20 01:59:33 +02:00
b8812cfe4a Fix string formatting 2024-07-20 01:57:06 +02:00
1b255a6fe9 Fix malformed installer script 2024-07-20 01:51:14 +02:00
c16b7468a5 Fix variable inheritance 2024-07-20 01:46:11 +02:00
64c27aae02 Fix configuration target 2024-07-20 01:43:53 +02:00
0a9d8e2c16 Fix use of incorrect config keys 2024-07-20 01:38:53 +02:00
2a307cc943 Fix variable visibility 2024-07-20 01:36:22 +02:00
0c6c9050c9 Ignore installation status by default 2024-07-20 01:32:42 +02:00
38ed0780f8 Allow user-defined git config 2024-07-20 01:31:04 +02:00
2c2c2889c2 Allow flagging git as installed 2024-07-20 01:23:08 +02:00
2eb56e20f1 Allow marking software as installed 2024-07-20 01:21:25 +02:00
82b6fa594d Fix string formatting 2024-07-20 01:03:20 +02:00
105268b7bc Fix permission issues 2024-07-20 00:59:11 +02:00
2150086ea8 Remove test code 2024-07-20 00:47:48 +02:00
e62637b3be Add users from configuration 2024-07-20 00:46:02 +02:00
5fa9f49b58 Allow applying custom functions during evaluation 2024-07-20 00:36:19 +02:00
3d4a607b2a Silence unnecessary console output 2024-07-17 16:41:42 +02:00
36d9eabac7 Load missing variable 2024-07-17 16:04:57 +02:00
82eac56241 Remove unnecessary statement 2024-07-17 15:59:09 +02:00
f81c36127d Normalize casing of firefox directory 2024-07-17 15:54:09 +02:00
766ae9a5c4 Fix incorrect paths 2024-07-17 15:00:01 +02:00
f2e37ffd22 Add scripts for installing school software 2024-07-17 14:26:01 +02:00
719a9ab8ff Streamline installation of all further software 2024-07-17 14:18:27 +02:00
f1163a12c8 Silence unnecessary console output 2024-07-17 10:25:41 +02:00
84487937f7 Fix syntax error 2024-07-17 01:07:27 +02:00
76fce58ec6 Enable minegrub theme by default 2024-07-16 23:35:12 +02:00
7bd2d32f4b Silence unnecessary output 2024-07-16 23:32:46 +02:00
0daac2eb6d Fix permission error 2024-07-16 23:13:41 +02:00
ab94663128 Streamline minegrub-theme installation 2024-07-16 23:11:27 +02:00
e4dfb6ae10 Streamline GRUB installation 2024-07-16 22:18:39 +02:00
476d56cf3f Configure nix during setup 2024-07-16 22:17:07 +02:00
20f45a5cc1 Add a hook for installing dependencies 2024-07-16 22:16:21 +02:00
6955a140f5 Reorder installation steps 2024-07-16 22:15:37 +02:00
e2241e6924 Include missing script file 2024-07-16 22:12:19 +02:00
a76e96f57e Allow specifying custom chroot command 2024-07-16 22:10:42 +02:00
28fd9b8640 Allow executing scripts while installing OS 2024-07-16 16:13:34 +02:00
9c1b81b4f4 Implement os setup using a function 2024-07-16 15:22:15 +02:00
5b2939b7a5 Streamline zoxide installation 2024-07-16 14:28:32 +02:00
b6d68043f0 Set profile title by default 2024-07-16 14:15:05 +02:00
150775e068 Relocate powershell profile script 2024-07-16 14:06:19 +02:00
005c575320 Replace aliae config with default bash profile 2024-07-16 03:36:51 +02:00
8315b89c6c Add aliae to the skel 2024-07-16 03:30:25 +02:00
5e5bb3e5df Streamline aliae installation 2024-07-16 03:30:14 +02:00
5851825a21 Remove non-functioning symbols 2024-07-16 01:05:29 +02:00
7aeb46aaca Automatically reboot the machine 2024-07-16 01:05:06 +02:00
5cb1026fc2 Load git config from nix 2024-07-15 20:24:47 +02:00
3ebc824061 Set git config system wide 2024-07-15 14:58:54 +02:00
0ae0fd8afe Set git config system wide 2024-07-15 14:47:06 +02:00
cd81edf1a7 Add a function to check whether a config is set 2024-07-15 14:14:07 +02:00
d3550592f1 Pass arguments to software scripts 2024-07-15 13:56:27 +02:00
272ccaa2f3 Fix syntax error 2024-07-15 13:17:00 +02:00
8c7786c554 Fix typos 2024-07-15 13:15:57 +02:00
43869c3623 Make setup-user able to use nix 2024-07-15 13:15:07 +02:00
280b30a0b2 Ensure nix works during setup 2024-07-15 13:13:15 +02:00
8d1c754106 Package essential software 2024-07-15 12:10:06 +02:00
8055185997 Refactor network connection test 2024-07-14 21:37:39 +02:00
07b864ea22 Fix syntax error 2024-07-14 10:10:04 +02:00
9885850fce Add scripts for maintaining software installation 2024-07-13 18:36:24 +02:00
1d740e2372 Enter PortValhalla before the installation 2024-07-13 17:28:30 +02:00