forked from fediversity/fediversity
Compare commits
2 commits
d26b3502ab
...
428b1d4e3a
| Author | SHA1 | Date | |
|---|---|---|---|
| 428b1d4e3a | |||
| 4c6fa980f7 |
5 changed files with 5 additions and 13 deletions
2
launch/.gitignore
vendored
2
launch/.gitignore
vendored
|
|
@ -1,5 +1,7 @@
|
|||
# generated
|
||||
.auto.tfvars.json
|
||||
.npins.json
|
||||
.terraform/
|
||||
.terraform.lock.hcl
|
||||
.terraform.tfstate.lock.info
|
||||
terraform.tfstate*
|
||||
|
|
|
|||
9
launch/.terraform.lock.hcl
generated
9
launch/.terraform.lock.hcl
generated
|
|
@ -1,9 +0,0 @@
|
|||
# This file is maintained automatically by "tofu init".
|
||||
# Manual edits may be lost in future updates.
|
||||
|
||||
provider "registry.opentofu.org/hashicorp/external" {
|
||||
version = "2.3.4"
|
||||
hashes = [
|
||||
"h1:HfVaWMC7Tz+tRfoWZtGCX2MATcgX3HsexoirWdi/voo=",
|
||||
]
|
||||
}
|
||||
|
|
@ -1,3 +1,4 @@
|
|||
# TODO: could (part of) this be generated somehow?
|
||||
{
|
||||
lib,
|
||||
...
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@ let
|
|||
inherit (lib.strings) removeSuffix;
|
||||
|
||||
secretsPrefix = ../secrets;
|
||||
secrets = import (secretsPrefix + "/secrets.nix");
|
||||
secrets = import "${secretsPrefix}/secrets.nix";
|
||||
keys = import ../keys;
|
||||
|
||||
in
|
||||
|
|
@ -35,8 +35,7 @@ in
|
|||
}
|
||||
) secrets;
|
||||
|
||||
## FIXME: Remove direct root authentication once the NixOps4 NixOS provider
|
||||
## supports users with password-less sudo.
|
||||
## FIXME: switch root authentication to users with password-less sudo, see #24
|
||||
users.users.root.openssh.authorizedKeys.keys = attrValues keys.contributors ++ [
|
||||
# allow our panel vm access to the test machines
|
||||
keys.panel
|
||||
|
|
|
|||
|
|
@ -19,7 +19,6 @@ pkgs.stdenv.mkDerivation {
|
|||
runHook preBuild
|
||||
pushd launch/
|
||||
echo '${lib.strings.toJSON sources}' > .npins.json
|
||||
rm .terraform.lock.hcl
|
||||
tofu init -input=false
|
||||
popd
|
||||
runHook postBuild
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue