{"id":27958402,"url":"https://github.com/determinatesystems/nixos-amis","last_synced_at":"2025-05-07T18:23:11.920Z","repository":{"id":275475162,"uuid":"858385566","full_name":"DeterminateSystems/nixos-amis","owner":"DeterminateSystems","description":null,"archived":false,"fork":false,"pushed_at":"2025-05-05T21:56:30.000Z","size":156,"stargazers_count":8,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-05-05T22:40:43.107Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Nix","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/DeterminateSystems.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2024-09-16T19:58:17.000Z","updated_at":"2025-05-05T21:56:32.000Z","dependencies_parsed_at":"2025-02-18T01:22:10.510Z","dependency_job_id":"395c363f-ddfc-477f-873c-d47e65b50789","html_url":"https://github.com/DeterminateSystems/nixos-amis","commit_stats":null,"previous_names":["determinatesystems/nixos-amis"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DeterminateSystems%2Fnixos-amis","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DeterminateSystems%2Fnixos-amis/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DeterminateSystems%2Fnixos-amis/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DeterminateSystems%2Fnixos-amis/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DeterminateSystems","download_url":"https://codeload.github.com/DeterminateSystems/nixos-amis/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252932167,"owners_count":21827237,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-05-07T18:23:11.309Z","updated_at":"2025-05-07T18:23:11.905Z","avatar_url":"https://github.com/DeterminateSystems.png","language":"Nix","funding_links":[],"categories":[],"sub_categories":[],"readme":"# NixOS with Determinate Nix AMIs\n\nThis repo houses the build logic for [Determinate Systems][detsys]' official [Amazon Machine Images (AMIs)][ami] for [NixOS].\nOur AMIs are available for these systems:\n\n| System      | Nix system name |\n| :---------- | :-------------- |\n| AMD64 Linux | `x86_64-linux`  |\n| ARM64 Linux | `aarch64-linux` |\n\nOn both systems, the AMIs have these tools installed:\n\n* [Determinate Nix][det-nix], Determinate Systems' validated and secure [Nix] distribution for enterprises.\n  This includes [Determinate Nixd][dnixd], a utility that enables you to log in to [FlakeHub] from AWS using only this command (amongst other tasks):\n\n  ```shell\n  determinate-nixd login aws\n  ```\n\n  Once logged in, your AMI can access [FlakeHub Cache][cache] and [private flakes][private-flakes] for your organization.\n  Note that there is no need to manage access tokens or keys, as Determinate Nixd uses [AWS Security Token Service][sts] for authentication.\n\n* [fh], the CLI for [FlakeHub].\n  You can use fh for things like [applying][fh-apply-nixos] NixOS configurations uploaded to [FlakeHub Cache][cache].\n  Here's an example:\n\n  ```shell\n  determinate-nixd login aws\n  fh apply nixos \"my-org/my-flake/*#nixosConfigurations.my-nixos-configuration-output\"\n  ```\n\n## Example\n\nFor a detailed example of deploying NixOS systems to [EC2] using the Determinate Nix AMIs, see our [demo] repo.\n\n## Changelog\n\n### epoch-1\n\nThis is an initial version of NixOS with Determinate Nix AMIs.\n\n## Deployment\n\nYou can deploy [EC2] instances based on the Determinate Nix AMIs using a variety of tools, such as [Terraform](#terraform).\n\n### Terraform\n\n\u003e [!NOTE]\n\u003e The Terraform configuration below is compatible with [OpenTofu] as well.\n\nYou can use our official AMI for NixOS in a [Terraform] configuration like this:\n\n```hcl\ndata \"aws_ami\" \"detsys_nixos\" {\n  most_recent = true\n\n  owners      = [\"535002876703\"]\n\n  filter {\n    name   = \"name\"\n    values = [\"determinate/nixos/epoch-1/*\"]\n  }\n\n  filter {\n    name   = \"architecture\"\n    values = [\"x86_64\"]\n  }\n}\n```\n\n[ami]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/AMIs.html\n[fh-apply-nixos]: https://docs.determinate.systems/flakehub/cli#apply-nixos\n[cache]: https://docs.determinate.systems/flakehub/cache\n[demo]: https://github.com/determinatesystems/demo\n[det-nix]: https://docs.determinate.systems/determinate-nix\n[detsys]: https://determinate.systems\n[dnixd]: https://docs.determinate.systems/determinate-nix#determinate-nixd\n[ec2]: https://aws.amazon.com/ec2\n[fh]: https://docs.determinate.systems/flakehub/cli\n[fh-apply]: https://docs.determinate.systems/flakehub/cli#apply\n[flakehub]: https://flakehub.com\n[nix]: https://docs.determinate.systems/determinate-nix\n[nixos]: https://zero-to-nix.com/concepts/nixos\n[opentofu]: https://opentofu.org\n[private-flakes]: https://docs.determinate.systems/flakehub/private-flakes\n[ssm]: https://aws.amazon.com/systems-manager\n[sts]: https://docs.aws.amazon.com/STS/latest/APIReference/welcome.html\n[terraform]: https://terraform.io\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeterminatesystems%2Fnixos-amis","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdeterminatesystems%2Fnixos-amis","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeterminatesystems%2Fnixos-amis/lists"}