aynish-nixos #3

Merged
j3s merged 30 commits from aynish/capsul-images:aynish-nixos into main 2022-07-18 22:35:09 +00:00

30 commits

Author SHA1 Message Date
Anish Lakhwara
523e92c10e remove todo 2022-07-18 23:52:49 +10:00
Anish Lakhwara
e1a43c1588 comment 2022-07-18 23:48:28 +10:00
Anish Lakhwara
79d69f3217 finally working systemd unit.
we have to move the script after the generation is built so it doesn't
run on rebuild and remove the script (the drive isn't mounted yet)
2022-07-18 23:47:33 +10:00
Anish Lakhwara
07c2f63205 no more password based logins 2022-07-18 18:43:28 +10:00
Anish Lakhwara
8639493c9d set random passwords for cyberian and root 2022-07-18 17:29:18 +10:00
Anish Lakhwara
ce7c6dc082 vi doesn't exist 2022-07-18 17:29:08 +10:00
Anish Lakhwara
67137f1ccd wheel needs not password 2022-07-18 17:28:56 +10:00
b0bc8252ef Merge pull request 'aynish-nixos' (#1) from j3s/capsul-images:aynish-nixos into aynish-nixos
Reviewed-on: aynish/capsul-images#1
2022-07-18 04:27:41 +00:00
963aaccd8a move oneshot to correct location lmao 2022-07-17 17:39:03 -05:00
da7a221ec3 Correct systemd config 2022-07-17 17:32:42 -05:00
3e0196f7d8 Clarify comment 2022-07-17 17:27:10 -05:00
71c6fe10bd Add cleanup tasks, add nano & vi to image, remove git 2022-07-17 17:26:23 -05:00
3bf46d9ec7 Remove default password for cyberian 2022-07-17 17:20:08 -05:00
be538698f3 Add aynish as an owner of this OS 2022-07-17 17:17:44 -05:00
3cfed4c6a3 Move 2nd-stage configuration to packer, not capsul-init 2022-07-17 17:17:26 -05:00
47be961751 Remove sudo su since we are root 2022-07-17 16:46:56 -05:00
35546c5a69 Add group to chown 2022-07-17 16:44:53 -05:00
e874ce9bea chown homedir recursively 2022-07-17 16:43:19 -05:00
2bff5a091b convert tabs -> spaces 2022-07-17 16:42:53 -05:00
Anish Lakhwara
e755a97141 fix systemd module 2022-07-18 01:59:12 +10:00
Anish Lakhwara
f66d09b7ea remove todo 2022-07-18 01:19:48 +10:00
Anish Lakhwara
d5f94420ee fix up configure script 2022-07-17 15:01:42 +10:00
Anish Lakhwara
2529875bb1 add systemd unit that only runs once 2022-07-17 14:35:27 +10:00
2e13b7c20a remove cruft 2022-07-16 12:52:20 -05:00
8013b8c953 fix nixos SSH settings for packer to be able to reconnect 2022-07-16 12:49:21 -05:00
233cbc5745 try trigger-reboot script which returns exit 0 before rebooting 2022-07-16 12:09:09 -05:00
Anish Lakhwara
dce53efe37 stuck again 2022-07-16 04:23:09 +10:00
Anish Lakhwara
5716138258 fix up nix file 2022-07-16 00:29:03 +10:00
Anish Lakhwara
667dc72304 add a bit to todo 2022-07-15 03:20:18 +10:00
Anish Lakhwara
22b87fd13b init nixos build 2022-07-15 03:17:54 +10:00