Commit graph

1646 commits

Author SHA1 Message Date
Manuel Thalmann 1b5fd6eb3a Copy pwsh to newly setup windows systems 2024-07-31 14:47:42 +02:00
Manuel Thalmann 4b788a6637 Rename old windows installation script 2024-07-30 18:47:01 +02:00
Manuel Thalmann 3972c1e63d Add a function for executing hooks 2024-07-30 18:34:19 +02:00
Manuel Thalmann c04b1ea6e5 Enable rclone services properly 2024-07-30 17:42:29 +02:00
Manuel Thalmann e40c88cf16 Disable root bash login during installation 2024-07-30 00:54:43 +02:00
Manuel Thalmann 924a788864 Silence unnecessary output 2024-07-30 00:53:20 +02:00
Manuel Thalmann 394264d848 Install vscode extensions for each user 2024-07-30 00:53:10 +02:00
Manuel Thalmann 5de76b02db Fix installation of brave extensions 2024-07-30 00:52:55 +02:00
Manuel Thalmann dee8234e5f Fix non-functioning installation scripts 2024-07-30 00:52:35 +02:00
Manuel Thalmann cb103117ab Fix missing variables 2024-07-30 00:51:50 +02:00
Manuel Thalmann 74d60881fb Fix non-functioning command 2024-07-29 23:46:14 +02:00
Manuel Thalmann 25e9153f8b Load dualboot sizes from nix 2024-07-29 01:44:12 +02:00
Manuel Thalmann 274b424726 Allow overwriting packages 2024-07-28 23:45:30 +02:00
Manuel Thalmann 1d4e68392b Generate locales in proper system 2024-07-28 23:45:09 +02:00
Manuel Thalmann 3f3b25bc95 Execute userConfig for current user only once 2024-07-28 23:44:58 +02:00
Manuel Thalmann 63d5d60a13 Prevent userConfig from execute multiple times 2024-07-28 23:43:11 +02:00
Manuel Thalmann bea3e68925 Nest Windows setup in a function 2024-07-28 20:52:07 +02:00
Manuel Thalmann d77001109b Inherit missing variable 2024-07-28 17:01:24 +02:00
Manuel Thalmann 99cd4ed309 Fix aliae configuration 2024-07-28 16:57:47 +02:00
Manuel Thalmann d12a44ceb3 Fix broken profile creation 2024-07-28 16:57:36 +02:00
Manuel Thalmann 99357ba627 Inherit missing variables 2024-07-28 15:25:03 +02:00
Manuel Thalmann 2297485193 Mark all fish scripts as executable 2024-07-28 12:32:08 +02:00
Manuel Thalmann 7da1f876cb Make nix config accessible in scripts 2024-07-28 12:16:01 +02:00
Manuel Thalmann 65b97f33db Run installer script after initialization 2024-07-27 23:18:04 +02:00
Manuel Thalmann 10d49a55fa Pass boot script path via env variable 2024-07-27 18:59:47 +02:00
Manuel Thalmann f631377a86 Copy repository settings 2024-07-26 14:43:02 +02:00
Manuel Thalmann 09aa735398 Configure for current user if none is specified 2024-07-20 14:06:25 +02:00
Manuel Thalmann b7c3c13b27 Remove unnecessary statement 2024-07-20 14:04:09 +02:00
Manuel Thalmann e23dec2a75 Add a function for checking whether a configuration is applied 2024-07-20 14:03:35 +02:00
Manuel Thalmann 3f6f037394 Remove default value of CONFIG_MODULE 2024-07-20 14:02:36 +02:00
Manuel Thalmann eb486369f2 Remove necessity of nix config 2024-07-20 13:54:04 +02:00
Manuel Thalmann 77d41f25f5 Create rclone syncs during setup 2024-07-20 13:47:07 +02:00
Manuel Thalmann e4632e3c39 Preserve environment while running dbus session 2024-07-20 05:14:09 +02:00
Manuel Thalmann 80bba08739 Fix typo 2024-07-20 05:09:42 +02:00
Manuel Thalmann 2560889987 Force json output appropriately 2024-07-20 05:09:13 +02:00
Manuel Thalmann 5258468d3b Add a script draft for configuring rclone 2024-07-20 05:08:23 +02:00
Manuel Thalmann f77cd0d500 Load the default shell from the user config 2024-07-20 04:35:41 +02:00
Manuel Thalmann c5149ef9b0 Split nix configuration properly 2024-07-20 04:31:09 +02:00
Manuel Thalmann ec0416039a Fix typo 2024-07-20 04:23:51 +02:00
Manuel Thalmann 12d326e74c Prevent changing the working directory 2024-07-20 04:17:42 +02:00
Manuel Thalmann 3968658531 Add separate method for configuring git 2024-07-20 04:06:41 +02:00
Manuel Thalmann 7560191834 Add function for configuring user settings 2024-07-20 03:50:38 +02:00
Manuel Thalmann f0d4e900ba Stop keeping track of installed software 2024-07-20 03:32:53 +02:00
Manuel Thalmann 31ec96a5d1 Call software scripts using individual fish commands 2024-07-20 03:27:36 +02:00
Manuel Thalmann 99c7a90e30 Remove unnecessary statement 2024-07-20 03:27:20 +02:00
Manuel Thalmann fca49bb1bc Add users before installing software 2024-07-20 03:13:17 +02:00
Manuel Thalmann d319409771 Read config keys properly 2024-07-20 01:59:33 +02:00
Manuel Thalmann 75ce4e680f Fix string formatting 2024-07-20 01:57:06 +02:00
Manuel Thalmann 1db90948b8 Fix malformed installer script 2024-07-20 01:51:14 +02:00
Manuel Thalmann 266d22aae1 Fix variable inheritance 2024-07-20 01:46:11 +02:00
Manuel Thalmann 0bb58e0ae7 Fix configuration target 2024-07-20 01:43:53 +02:00
Manuel Thalmann c3a2c0f34c Fix use of incorrect config keys 2024-07-20 01:38:53 +02:00
Manuel Thalmann 734a0a3c46 Fix variable visibility 2024-07-20 01:36:22 +02:00
Manuel Thalmann cd35c5d4f4 Ignore installation status by default 2024-07-20 01:32:42 +02:00
Manuel Thalmann 17df6adafa Allow user-defined git config 2024-07-20 01:31:04 +02:00
Manuel Thalmann b629771687 Allow flagging git as installed 2024-07-20 01:23:08 +02:00
Manuel Thalmann 46a9afbb95 Allow marking software as installed 2024-07-20 01:21:25 +02:00
Manuel Thalmann bfc505f83e Fix string formatting 2024-07-20 01:03:20 +02:00
Manuel Thalmann 275da3640d Fix permission issues 2024-07-20 00:59:11 +02:00
Manuel Thalmann 46ef068555 Remove test code 2024-07-20 00:47:48 +02:00
Manuel Thalmann 20109efb84 Add users from configuration 2024-07-20 00:46:02 +02:00
Manuel Thalmann 77aaa5fe71 Allow applying custom functions during evaluation 2024-07-20 00:36:19 +02:00
Manuel Thalmann 5700e2e69e Generate locales during setup 2024-07-19 21:18:20 +02:00
Manuel Thalmann 547bfdb46b Silence unnecessary console output 2024-07-17 16:41:42 +02:00
Manuel Thalmann 54ac3f8ad2 Fix creation of vscode config files 2024-07-17 16:39:03 +02:00
Manuel Thalmann 1a9a3fedaf Load missing variable 2024-07-17 16:33:59 +02:00
Manuel Thalmann 84d0a9d434 Force installing iptables-nft 2024-07-17 16:18:31 +02:00
Manuel Thalmann 95727a8958 Load missing variable 2024-07-17 16:04:57 +02:00
Manuel Thalmann 48f2746ecf Remove unnecessary statement 2024-07-17 15:59:09 +02:00
Manuel Thalmann ba174e6d1a Install logo-ls only if not present 2024-07-17 15:54:53 +02:00
Manuel Thalmann 1ef529c4fb Normalize casing of firefox directory 2024-07-17 15:54:09 +02:00
Manuel Thalmann 638601c2c1 Add missing packages 2024-07-17 15:49:30 +02:00
Manuel Thalmann 1f6081020b Fix permission error 2024-07-17 15:22:41 +02:00
Manuel Thalmann 725873bef6 Install bb at the end 2024-07-17 15:08:27 +02:00
Manuel Thalmann 352149d85b Fix typo 2024-07-17 15:00:26 +02:00
Manuel Thalmann 8baacb193b Fix incorrect paths 2024-07-17 15:00:01 +02:00
Manuel Thalmann 4b154f4949 Fix typo 2024-07-17 14:55:30 +02:00
Manuel Thalmann ecd34ed368 Add scripts for installing school software 2024-07-17 14:26:01 +02:00
Manuel Thalmann 2b3908371a 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
Manuel Thalmann 44bc1d7d1b Enter PortValhalla before the installation 2024-07-13 17:28:30 +02:00
Manuel Thalmann 434da07c1b Fix incorrect path specification 2024-07-13 17:28:06 +02:00
Manuel Thalmann 563e1bcdc7 Fix nix on new installations 2024-07-13 17:27:53 +02:00
Manuel Thalmann 1d3b22d78e Add a shallow installation script 2024-07-13 15:49:55 +02:00
Manuel Thalmann a38a3b7154 Create a common install script 2024-07-13 15:12:35 +02:00
Manuel Thalmann 6c27845e5e Install fish and nix on setup 2024-07-13 15:12:01 +02:00
Manuel Thalmann b664ecd82c Remove obsolete setup-user 2024-07-13 15:11:44 +02:00
Manuel Thalmann cd819b5996 Stor script name in a variable 2024-07-13 13:23:16 +02:00
Manuel Thalmann ecb264d747 Allow customizing setup script per machine 2024-07-13 13:03:56 +02:00
Manuel Thalmann 1dc32d2bb6 Allow direct execution of the installation 2024-07-13 12:36:10 +02:00
Manuel Thalmann 8f4e2c184d Chain commands properly 2024-07-13 11:24:04 +02:00
Manuel Thalmann 3c43752597 Execute partitioning in fish directly 2024-07-13 11:23:14 +02:00
Manuel Thalmann 242b85d9c7 Perform partitioning and repo-cloning in common setup 2024-07-13 10:59:09 +02:00
Manuel Thalmann 22d68bfa7b Automatically create a setup user 2024-07-13 09:52:30 +02:00
Manuel Thalmann 5a15c1ea05 Prevent dangling tmux sessions 2024-07-12 00:40:48 +02:00
Manuel Thalmann 56704c3df1 Wait for internet connection before starting the setup 2024-07-12 00:39:14 +02:00
Manuel Thalmann ce1b743526 Allow setting the keyboard layout from the config file 2024-07-11 22:10:57 +02:00
Manuel Thalmann 1f6fe9c181 Allow setting the key map 2024-07-11 22:05:36 +02:00
Manuel Thalmann 656de4bc62 Remove unused variable 2024-07-11 21:59:51 +02:00
Manuel Thalmann 6318a63307 Allow specifying the timezone 2024-07-11 21:58:46 +02:00
Manuel Thalmann feb95ee825 Read mount root from nix config 2024-07-11 20:24:24 +02:00
Manuel Thalmann c2dd9adad4 Implicitly produce raw output 2024-07-11 21:01:39 +02:00
Manuel Thalmann 6d7ccd9b40 Prefix valhalla related settings 2024-07-11 19:31:50 +02:00
Manuel Thalmann 4209a7c107 Use source instead of dot notation 2024-07-09 04:00:26 +02:00
Manuel Thalmann def44b1351 Simplify the creation of hooks 2024-07-09 03:57:03 +02:00
Manuel Thalmann 52384e532a Load language settings from the config 2024-07-09 02:22:12 +02:00
Manuel Thalmann 75c45473ac Add a hook for setting up device drivers 2024-07-08 18:44:47 +02:00
Manuel Thalmann 9e6672d82c Remove unnecessary command restrictions 2024-07-08 18:29:55 +02:00
Manuel Thalmann 4a915e1d2f Set USER_GROUPS to an empty string by default 2024-07-08 18:20:50 +02:00
Manuel Thalmann a5d25522fd Fix incorrect file path 2024-07-08 02:48:29 +02:00
Manuel Thalmann 30de6a6597 Silence output in coöy-repo 2024-07-08 02:48:10 +02:00
Manuel Thalmann 2f26f7adfd Convert Arch setup script to fish 2024-07-08 02:47:49 +02:00
Manuel Thalmann 6b1bd3a50c Centralize default settings 2024-07-08 01:47:23 +02:00
Manuel Thalmann 3e3568ac59 Rename partitioning modules to config 2024-07-08 01:09:31 +02:00
Manuel Thalmann 9fe42686af Execute commands only when successful 2024-07-08 01:03:21 +02:00
Manuel Thalmann 5d4e31ba17 Translate copy-repo script to fish 2024-07-07 22:33:01 +02:00
Manuel Thalmann f97e81c606 Create a script for copying the repo 2024-07-07 20:12:46 +02:00
Manuel Thalmann 5bca2c6855 Refactor installation functions 2024-07-07 20:04:05 +02:00
Manuel Thalmann a267cee3eb Replace packages with too frequent updates 2024-06-23 19:57:12 +02:00
Manuel Thalmann a2a97237b7 Fix incorrect package name 2024-06-23 17:18:53 +02:00
Manuel Thalmann f77fd69f68 Fix path resolving of the partition module 2024-06-23 15:03:20 +02:00
Manuel Thalmann ef017c28db Use pre-cached nixpkgs 2024-06-23 12:19:59 +02:00
Manuel Thalmann daf5d14e04 Generate partitioning scripts using nix 2024-06-22 23:32:57 +02:00
Manuel Thalmann 1f1958d185 Rename the module evaluation function 2024-06-22 23:11:21 +02:00
Manuel Thalmann af05f04901 Add an arch specific partitioning scheme 2024-06-22 22:51:26 +02:00
Manuel Thalmann 1971ba2753 Add a script for evaluating modules 2024-06-20 18:25:57 +02:00
Manuel Thalmann f10e3f5dd1 Replace nvidia packages with beta versions 2024-06-20 14:12:37 +02:00
Manuel Thalmann 8ca5a886ae Improve the grub manipulation script 2024-06-19 14:09:48 +02:00
Manuel Thalmann 7fadcf8ca1 Set modeset parameter in mkinitcpio 2024-06-19 13:56:37 +02:00
Manuel Thalmann 0e44486413 Ensure proper permissions for the xone source 2024-06-19 13:51:54 +02:00
Manuel Thalmann 98d7b428ef Fix xone detection 2024-06-19 13:45:06 +02:00
Manuel Thalmann 0b23d44f44 Launch install.sh from current dir 2024-06-19 13:44:29 +02:00
Manuel Thalmann eebcfa8166 Check dkms for determining if xone is installed 2024-06-19 13:39:30 +02:00
Manuel Thalmann 4567f66234 Fix non-functioning secure boot install script 2024-06-19 13:39:14 +02:00
Manuel Thalmann 18f4a69a91 Fix outdated package 2024-06-19 13:38:56 +02:00
Manuel Thalmann 84f046eb16 Update nix as root 2024-06-19 13:38:46 +02:00
Manuel Thalmann 48152d2e86 Ignore packages with incorrect hash 2024-06-19 13:38:29 +02:00
Manuel Thalmann d3c26c9fc5 Fix syntax error 2024-06-19 13:32:10 +02:00
Manuel Thalmann d5ea53b891 Regenerate grub config after enabling verbose mode 2024-04-23 15:36:14 +02:00
Manuel Thalmann 5b4c5549c2 Allow setting cache duration for individual syncs 2024-04-20 12:55:58 +02:00
Manuel Thalmann fe7b5e4545 Add a script for making grub verbose 2024-04-12 08:33:16 +02:00
Manuel Thalmann fdd30400a3 Add nix by default 2024-04-10 08:18:51 +02:00