{"id":17610097,"url":"https://github.com/anthr76/snowflake","last_synced_at":"2025-08-22T11:31:21.269Z","repository":{"id":40535372,"uuid":"477432108","full_name":"anthr76/snowflake","owner":"anthr76","description":null,"archived":false,"fork":false,"pushed_at":"2024-11-26T21:20:28.000Z","size":991,"stargazers_count":7,"open_issues_count":5,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-12-16T22:51:23.448Z","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/anthr76.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}},"created_at":"2022-04-03T18:37:29.000Z","updated_at":"2024-11-26T21:20:31.000Z","dependencies_parsed_at":"2022-07-27T09:22:18.727Z","dependency_job_id":"6ad90d3b-b2a2-40c1-8953-59d6bad02f08","html_url":"https://github.com/anthr76/snowflake","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anthr76%2Fsnowflake","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anthr76%2Fsnowflake/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anthr76%2Fsnowflake/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anthr76%2Fsnowflake/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/anthr76","download_url":"https://codeload.github.com/anthr76/snowflake/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":230589631,"owners_count":18249771,"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":"2024-10-22T17:43:12.910Z","updated_at":"2025-08-22T11:31:21.261Z","avatar_url":"https://github.com/anthr76.png","language":"Nix","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Nix Configuration\nThis repository is home to the nix code that builds my systems (mostly linux rarely mac).\n\n# New Machines\n\nIn the future a script should be written to take care of this but but in the meantime:\n\n```fish\nset temp $(mktemp -d)\ninstall -d -m755 \"$temp/etc/ssh\"\nssh-keygen -t ed25519 -C \"root@master-04\" -f $temp/etc/ssh/ssh_host_ed25519_key\nssh-keygen  -t rsa -C \"root@master-04\" -f $temp/etc/ssh/ssh_host_rsa_key\nchmod 600 \"$temp/etc/ssh/ssh_host_ed25519_key\"\nchmod 644 \"$temp/etc/ssh/ssh_host_ed25519_key.pub\"\nchmod 600 \"$temp/etc/ssh/ssh_host_rsa_key\"\nchmod 644 \"$temp/etc/ssh/ssh_host_rsa_key.pub\"\nnix shell nixpkgs#ssh-to-age -c sh -c \"cat $temp/etc/ssh/ssh_host_ed25519_key.pub | ssh-to-age\"\n# Add to .sops.yaml rekey secrets\n# nix run github:numtide/nixos-anywhere -- --extra-files \"$temp\" --flake \".#${MACHINE}\" \"root@${IP}\" --no-reboot\nnix run github:numtide/nixos-anywhere -- --extra-files \"$temp\" --flake \".$MACHINE\" \"root@$IP\"\n```\n\nNote: If bootstrapping a LUKs machine make sure to `echo -n` the password or ensure there's no new-line.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanthr76%2Fsnowflake","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fanthr76%2Fsnowflake","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanthr76%2Fsnowflake/lists"}