Initialize host on official NixOS infrastructure #454
No reviewers
Labels
No labels
automation
backend
bug
contributor experience
data
deployment
documentation
duplicate
good first issue
help wanted
nice to have
notifications
package maintainer
performance
skin
tech debt
user story
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: lix-community/nix-security-tracker#454
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "init-stf-master"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This PR initializes the
stfmaster
host for running the Nix Security Tracker on official NixOS infrastructure. Closes #175.Things left to do before marking this as ready to review:
infra@nixos.org
, depends on children task[] Automated deployments after merging to masterMaking this out of scope for this PR and moving it to a new one so it's easier to review.Things not carried over from staging:
A Prometheus Node Exporter is added on the host in order to allow scraping of metrics to use in prometheus.nixos.org. This isn't locked down to specific IPs, since the metrics themselves will be public either way (and it's what the infra team is already doing with other hosts). We can add more exporters (postgres, etc) in the future as needed.
One of the notable things in this PR is the handling of SSH keys for the root account. I've copied over the keys from
staging
, but I'm also including the ssh keys from the NixOS infra team (in the specific linked commit).I recommend something along these lines. While the Sovereign Tech Fund (STF) made all of this possible to begin with by funding the project, the service is the Nixpkgs security tracker.
Agreed and nice catch, applied.