Commit Graph

168 Commits

Author SHA1 Message Date
Andreas Zweili b8d9bc1c75 extend update script 2022-01-25 19:18:53 +01:00
Andreas Zweili ec7c9a5877 correct the remote install script 2022-01-25 18:13:39 +01:00
Andreas Zweili 359f4dd21a correct path for shell.nix 2022-01-25 18:08:14 +01:00
Andreas Zweili 9783d9c4c5 try to use nix-shell in shebang 2022-01-25 18:07:08 +01:00
Andreas Zweili 4ec267e6b3 add bash script for setup 2022-01-25 18:02:41 +01:00
Andreas Zweili 431b65d786 remove for loop 2022-01-25 17:53:46 +01:00
Andreas Zweili aa49a32c8c correct the host 2022-01-25 17:52:39 +01:00
Andreas Zweili 70693704e8 try a script to install a new vm 2022-01-25 17:50:58 +01:00
Andreas Zweili a5b87a660f add a script to deploy a single machine 2022-01-25 06:45:44 +01:00
Andreas Zweili 51c4989d23 add various systems to the update script 2022-01-24 23:04:42 +01:00
Andreas Zweili f76ffbc24f remove unused script 2022-01-24 12:44:52 +01:00
Andreas Zweili 20b2c874a4 extend home-manager setup script for non-nixos 2022-01-24 12:44:09 +01:00
Andreas Zweili 5b189702b8 add a script to fix the secrets permissions 2022-01-24 10:54:46 +01:00
Andreas Zweili a0076aeb34 remove the test vm from the update script 2022-01-24 10:40:50 +01:00
Andreas Zweili 72f2d1c2d9 add a script for remote updates 2022-01-23 12:28:06 +01:00
Andreas Zweili 67bf564c89 specify the ssh key 2022-01-17 17:52:49 +01:00
Andreas Zweili cbb38874d7 use tmux in the update script
this makes it more robust when running on an unstable connection
2022-01-17 11:21:13 +01:00
Andreas Zweili 68ccc39f51 finish the update script 2022-01-16 18:20:16 +01:00
Andreas Zweili 9c2b466590 remove sudo from the update script 2022-01-16 18:03:36 +01:00
Andreas Zweili 9ed81a8e4b add a script to update my hosts 2022-01-16 17:20:10 +01:00
Andreas Zweili efd9a68bff update the vm script 2022-01-12 22:32:02 +01:00
Andreas Zweili a62d95dac5 add a script to setup the VM home 2022-01-12 21:53:09 +01:00
Andreas Zweili 0aa36e9c7f refactor the format-disk script 2021-12-23 11:22:42 +01:00
Andreas Zweili aa7baf88ab log the LVM target 2021-12-20 19:20:39 +01:00
Andreas Zweili 2d30761c33 remove unusable script and update README 2021-12-20 17:08:01 +01:00
Andreas Zweili 3ae53df7eb make install script executable 2021-12-20 17:02:59 +01:00
Andreas Zweili 10eddaab79 remove old scripts 2021-12-20 16:59:36 +01:00
Andreas Zweili be8011dec5 add the last --script option 2021-12-20 16:58:20 +01:00
Andreas Zweili 78d9e7cd4f remove unused argument 2021-12-20 15:58:11 +01:00
Andreas Zweili 43f1a68936 add missing comma 2021-12-20 15:56:33 +01:00
Andreas Zweili 0a0797a4de use strings with parted 2021-12-20 15:55:27 +01:00
Andreas Zweili d8c1de19e7 remove duplicate print 2021-12-20 15:45:58 +01:00
Andreas Zweili faee1d933e add script option 2021-12-20 15:44:51 +01:00
Andreas Zweili 3c0b94bb55 first try for a parted fix 2021-12-20 15:42:58 +01:00
Andreas Zweili 490d402c3f add some log lines 2021-12-20 15:32:11 +01:00
Andreas Zweili a86fd43185 add partition table 2021-12-20 12:24:33 +01:00
Andreas Zweili 88e8bebe37 add a password prompt for luks 2021-12-20 10:41:11 +01:00
Andreas Zweili b0902cd334 refactor the format script a bit 2021-12-19 20:25:09 +01:00
Andreas Zweili ba210d5d6d fix a typo 2021-12-19 20:16:49 +01:00
Andreas Zweili 0dd3df4331 run cryptsetup in batch mode 2021-12-19 20:12:52 +01:00
Andreas Zweili 9a34894861 complete the format-disk script 2021-12-19 20:10:49 +01:00
Andreas Zweili 3ec32d711d add functions for boot and main partition 2021-12-19 19:33:19 +01:00
Andreas Zweili 2a8c4a2791 extend format_disk function 2021-12-19 19:15:51 +01:00
Andreas Zweili f51fd05547 add questsion for swap and encryption 2021-12-19 19:15:29 +01:00
Andreas Zweili 0c0cbd0714 add import 2021-12-19 19:15:01 +01:00
Andreas Zweili 0c14b063c9 add y_n function 2021-12-19 19:14:23 +01:00
Andreas Zweili 2e278d85bb add function to read RAM amount 2021-12-19 18:58:31 +01:00
Andreas Zweili aa98d610b0 extend the main function 2021-12-19 18:48:18 +01:00
Andreas Zweili faec2e08be always return int for the disk selection 2021-12-19 18:47:51 +01:00
Andreas Zweili 0a7d19e719 make funktions public 2021-12-19 18:47:36 +01:00
Andreas Zweili 1401ba72a6 add python script to format disks 2021-12-19 18:41:03 +01:00
Andreas Zweili 3d40c225d7 increase home-manager to version 21.11 2021-12-17 17:38:19 +01:00
Andreas Zweili 9284154c16 rename the hardware config 2021-11-29 19:23:52 +01:00
Andreas Zweili 29fd4f00fb make and mount boot 2021-11-29 12:32:31 +01:00
Andreas Zweili 77576e01d2 create the nixos directory 2021-11-29 12:23:18 +01:00
Andreas Zweili 084515678e require all tasks to complete successfully 2021-11-29 12:22:44 +01:00
Andreas Zweili 47bbd4efc3 set executable flag 2021-11-29 12:14:01 +01:00
Andreas Zweili 0720750670 mount the disk after formating 2021-11-29 10:56:23 +01:00
Andreas Zweili 12d4885354 use the install paths in the link scripts
I want to use the mainly during the installation so it's fine to use
paths which later won't work.
2021-11-29 10:55:36 +01:00
Andreas Zweili 6ab4e855ea correct the name for the precision script 2021-11-29 10:53:34 +01:00
Andreas Zweili fca148bbd8 ask the user for the swap size 2021-11-29 10:47:16 +01:00
Andreas Zweili e4f030bddb add a simplet script to format the drive 2021-11-29 10:45:16 +01:00
Andreas Zweili fa4993001f install home-manager in the main configuration 2021-11-22 19:27:52 +01:00
Andreas Zweili 5a4f0da8d4 add force flag to remove command
without it I'm getting an error
2021-11-20 17:36:56 +01:00
Andreas Zweili 73e1ddadb5 rename script 2021-11-20 17:29:13 +01:00
Andreas Zweili b2aac5a619 make scripts executable 2021-11-20 17:27:52 +01:00
Andreas Zweili 991ea9ac50 update config 2021-11-20 17:16:43 +01:00
Andreas Zweili ee9392c42e add home-manager scripts 2021-11-20 16:30:25 +01:00