{"id":16347974,"url":"https://github.com/ai/susedko","last_synced_at":"2025-11-08T05:03:23.985Z","repository":{"id":65255200,"uuid":"495397489","full_name":"ai/susedko","owner":"ai","description":"Fedora CoreOS ignition config for my home server","archived":false,"fork":false,"pushed_at":"2025-01-16T23:03:48.000Z","size":196,"stargazers_count":14,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-16T23:26:02.738Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Makefile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ai.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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}},"created_at":"2022-05-23T12:16:57.000Z","updated_at":"2025-01-16T23:03:49.000Z","dependencies_parsed_at":"2023-11-19T06:28:08.744Z","dependency_job_id":"482a7c16-0563-42ae-be70-f1dfa90db1b3","html_url":"https://github.com/ai/susedko","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/ai%2Fsusedko","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ai%2Fsusedko/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ai%2Fsusedko/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ai%2Fsusedko/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ai","download_url":"https://codeload.github.com/ai/susedko/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":234575251,"owners_count":18854926,"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-11T00:47:45.715Z","updated_at":"2025-09-29T00:33:12.144Z","avatar_url":"https://github.com/ai.png","language":"Makefile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Susedko Home Server\n\n[Fedora CoreOS] ignition config for my home server.\n\n[Fedora CoreOS]: https://docs.fedoraproject.org/en-US/fedora-coreos/getting-started/\n\n\n## Prepare\n\nTo test locally or to flash image to USB drive you need:\n\n```sh\nsudo dnf install make podman qemu-system-x86-core\n```\n\nSave your Docker.io token to `units/dockerhub/docker-auth.json`:\n\n```json\n{\n  \"auths\": {\n    \"docker.io\": {\n      \"auth\": \"YOUR_TOKEN\"\n    }\n  }\n}\n```\n\n\n## Development\n\nRun in one terminal:\n\n```sh\nmake demo\n```\n\nAnd then run in another terminal:\n\n```sh\nmake shell\n```\n\nPress \u003ckbd\u003eCtrl + A\u003c/kbd\u003e \u003ckbd\u003eX\u003c/kbd\u003e to exit demo server shell.\n\nCall `make clean` to remove all temporary files from the dir and system.\n\n\n## Install\n\nInsert USB flash drive and call:\n\n```sh\nmake flash\n```\n\nIt will write image to `/dev/sda`. Change `Makefile` if you need another path.\n\nThen insert drive to machine and boot it. It will automatically install\nsystem to `/dev/mmcblk1` (change `Makefile` for another drive).\n\n\n## Other Setup\n\nAfter re-installing the server you need to prepare some files on HDD.\n\nCopy Home Assistant configs:\n\n```\nmake ha\n```\n\nCreate backup:\n\n```sh\nborg init --encryption repokey-blake2 ai@susedko.local:/var/mnt/vault/ai/backup\n```\n\nPrepare ngrams and copy them to `/var/mnt/vault/.config/ngrams`:\n\n```sh\nwget https://languagetool.org/download/ngram-data/ngrams-en-20150817.zip\nwget https://languagetool.org/download/ngram-data/ngrams-es-20150915.zip\nwget https://languagetool.org/download/ngram-data/untested/ngram-ru-20150914.zip\nunzip ngrams-en-20150817.zip\nunzip ngrams-es-20150915.zip\nunzip ngram-ru-20150914.zip\nrm ngram*.zip\n```\n\nSet to Nextcloud config at `/var/mnt/vault/nextcloud/config/config.php`:\n\n```php\n  'overwrite.cli.url' =\u003e 'https://nextcloud.local',\n  'overwriteprotocol' =\u003e 'https',\n```\n\n\n## Prepare Clients for Local Domains\n\nInstall [`./sitniks.crt`](./sitniks.crt) CA certificate to your system.\n\nFor MacOS:\n\n```sh\nsudo security add-trusted-cert -d -r trustRoot -k /Library/Keychains/System.keychain ./sitniks.crt\n```\n\nFor Linux CLI:\n\n```sh\nsudo dnf install nss-tools\ncertutil -d sql:$HOME/.pki/nssdb -A -t \"C,,\" -n sitnik -i ~/Dev/susedko/sitniks.crt\nsudo cp ~/Dev/susedko/sitniks.crt /etc/pki/ca-trust/source/anchors/sitniks.pem\nsudo update-ca-trust\n```\n\nFor Firefox on Linux: go to `about:preferences#privacy`, click on `View Certificates`, and import `sitniks.crt`.\n\nFor Chrome on Linux: go to `chrome://settings/certificates`, click on `Authorities`, and add `sitniks.crt`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fai%2Fsusedko","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fai%2Fsusedko","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fai%2Fsusedko/lists"}