Commit graph

10 commits

Author SHA1 Message Date
Simon Bruder 4a8a7e0a4f
Use sops for secrets
Since I currently do not have access to sayuri, sayuri’s migration is
not done yet. The host keys and wg-home-private-key secret still have to
be added.
2021-04-06 14:05:48 +02:00
Simon Bruder c77328af22
Replace builtins with lib where possible 2021-02-27 19:57:00 +01:00
Simon Bruder 8037f5eb5e
deploy: Only send the wanted machine configuration
This avoids having secrets that are managed with git-crypt on every
system.
2021-02-07 11:30:42 +01:00
Simon Bruder 05a72217aa
Use nixos-hardware for hardware configuration
This removes the manual modules that use options to activate hardware
configuration. It seems to general (e.g. newer Intel GPUs require
different opencl icd) or not flexible enough (in case of the ssd
module).

Closes #21.
2021-01-29 15:50:16 +01:00
Simon Bruder e7c6406820
Decouple machine configuration and deployment
This allows custom scripts to access machine-specific variables.
2021-01-28 17:08:08 +01:00
Simon Bruder f1620679d4
deploy: Make secrets deployment optional 2021-01-07 12:32:43 +01:00
Simon Bruder 2b6a7bc1f6
deploy: Make options actually work 2021-01-06 23:41:33 +01:00
Simon Bruder 09c772514c
Add deploy script 2020-12-17 11:27:53 +01:00
Simon Bruder 0563b14c68
Exclude .git and vm disk images in deployment
Fixes #8 (at least good enough for now)
2020-12-17 10:41:11 +01:00
Simon Bruder c63305cb6b
Restructure krops deployments 2020-12-17 09:50:26 +01:00