Commit graph

52 commits

Author SHA1 Message Date
zowoq
e18b71ab99 use sotp for TOTP secrets 2023-10-17 01:39:48 +00:00
zowoq
2eca43d7cd tasks.py: use nixos-anywhere from nixpkgs 2023-09-25 00:41:12 +00:00
zowoq
9f3c7b7c80 tasks.py: mypy fixes 2023-09-16 23:14:22 +00:00
zowoq
44f0a96e96 tasks.py: switch to nix flake archive for deploy 2023-09-15 00:36:13 +00:00
zowoq
9c1545b0ab refactor mkdocs
- use devshell instead of package

- build pages with hercules-ci.github-pages

- drop unnecessary packages restriction
2023-08-28 13:37:41 +00:00
zowoq
4e8a299404 darwin03: init 2023-07-17 10:54:55 +00:00
zowoq
9c4b508837 tasks.py: interim support for deploying darwin02 2023-06-06 08:52:37 +00:00
zowoq
5e5678ec15 build0*: move into /hosts 2023-06-01 01:04:53 +00:00
zowoq
098cd362db merge terraform flake 2023-05-22 10:18:26 +00:00
zowoq
df9aa7a9dd tasks.py: get hosts from flake 2023-05-20 23:42:13 +00:00
zowoq
0b4d4f17dc tasks.py: refactor install, print-keys 2023-05-18 01:02:33 +00:00
zowoq
155d604bac tasks.py: various
- add install, print_keys

- drop scan_age_keys
2023-05-10 02:56:38 +00:00
zowoq
3d2ec06ddb services/hound: remove 2023-05-10 01:00:54 +00:00
zowoq
486311ad29 shell: refactor, reduce size
- drop treefmt, accessible via `nix fmt`

- drop mkdocs, accessible via `inv mkdocs`

this halves the size of the devshell
2023-05-04 08:38:23 +10:00
Jörg Thalheim
e5e5fff9c3
tasks/deploy: fix flake path 2023-03-25 10:44:53 +00:00
zowoq
c35f3a85d9 tasks.py: don't use root
also explicitly set hostname for nixos deploy
2023-03-25 14:36:57 +10:00
zowoq
4673b5c485 tasks.py: remove format_disks, nixos_install, setup_secret 2023-03-19 09:44:39 +10:00
Jörg Thalheim
56c57b7cb7 tasks.py: fix rsync ignoring some file changes
in the nix store timestamps are not correct.
2023-03-19 09:35:15 +10:00
bors[bot]
6922403954
Merge
483: various r=Mic92 a=zowoq



Co-authored-by: zowoq <59103226+zowoq@users.noreply.github.com>
2023-03-17 17:47:18 +00:00
zowoq
723eaa5e36 tasks.py: format 2023-03-17 13:36:07 +10:00
zowoq
59aa029934 tasks.py: skip empty repos when updating hound 2023-03-17 11:33:19 +10:00
zowoq
f1738b6e64 tasks.py: add update-terraform 2023-03-15 18:20:54 +10:00
zowoq
ecd3b935b2 tasks.py: merge update-hound.py script 2023-03-13 07:21:26 +10:00
zowoq
e4c39c0af3 tasks.py: misc fixes 2023-03-13 07:21:26 +10:00
Jörg Thalheim
447094bb01 change deployment to use flake only 2023-03-08 14:25:58 +10:00
zowoq
16962b3a09 tasks.py: add ssh-to-age to shell and update comments 2023-02-07 12:22:46 +10:00
zowoq
b0fcba7020 tasks: add update_hound_repos 2023-01-17 06:47:47 +10:00
zowoq
1733575efe tasks.py: add .ruff_cache, result* to excludes 2023-01-10 06:47:06 +10:00
zowoq
f1a84d8c99 tasks.py: host -> hosts 2023-01-07 07:38:13 +10:00
Jörg Thalheim
ee8f7e82b8 apply treefmt to codebase 2022-12-31 07:27:07 +01:00
Jörg Thalheim
9dccdea0fe add task to scan age keys 2022-12-30 20:56:30 +01:00
Jörg Thalheim
c787d3dd4c add task to build nixos machines locally
this is also useful for people that do not have access to the
servers (i.e. as part of a PR).
2022-12-19 15:40:02 +01:00
zowoq
9c17a146cb refactor sops secrets 2022-11-17 09:16:57 +10:00
zowoq
7efcb78dff
hydra: switch to buildMachinesFiles () 2022-10-29 22:38:47 +02:00
Jörg Thalheim
1b593f6e74 add task to re-encrypt files 2022-10-25 09:55:28 +02:00
Jörg Thalheim
3025174536 tasks: reformat 2022-09-28 10:20:56 +02:00
Jörg Thalheim
4c4c24f2cd deploy as root 2022-09-04 05:53:48 +02:00
Jörg Thalheim
d27fde76e1 bump deploykit version 2022-08-31 11:28:46 +02:00
Jörg Thalheim
d30e84aad5 switch to deploykit from deploy_nixos 2022-08-29 14:11:38 +02:00
Jörg Thalheim
e04003d670 use autoUpgrade service instead of cachix deploy for better monitoring 2022-08-10 13:02:19 +02:00
Jörg Thalheim
ea2f1dc953
deploy: drop accept flake substituter config 2022-04-24 08:22:34 +02:00
Jörg Thalheim
9c29a82b46
switch to flake 2022-04-10 21:58:25 +02:00
Jörg Thalheim
6d32ac1baa deploy: improve rsync filter 2022-02-04 09:27:45 +01:00
Jörg Thalheim
4e16961bb2 tasks: reformat with black 2022-01-15 13:38:30 +01:00
Jörg Thalheim
2d4f12ef87 add restart-cachix-deploy task 2022-01-15 13:38:22 +01:00
Jörg Thalheim
5b53d14593 workaround for build03 2021-11-01 14:08:06 +01:00
Jörg Thalheim
b52e0fbe09 deploy: fix computing hostnames 2021-11-01 11:50:06 +01:00
Jörg Thalheim
7f8a838e24 tasks/reboot: simplify 2021-10-24 01:31:40 +02:00
Jörg Thalheim
a38183f184 tasks/format-disk: add usage 2021-10-24 01:31:30 +02:00
Jörg Thalheim
a2ea0b6139 tasks/setup-secrets: also copy over rsa key 2021-10-24 01:21:33 +02:00