{"id":20332743,"url":"https://github.com/aorith/media-stack","last_synced_at":"2025-04-11T21:33:06.462Z","repository":{"id":215327477,"uuid":"695880369","full_name":"aorith/media-stack","owner":"aorith","description":"Personal media stack running in a NixOS systemd-nspawn container","archived":false,"fork":false,"pushed_at":"2024-08-07T12:00:29.000Z","size":43,"stargazers_count":6,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-25T17:46:39.434Z","etag":null,"topics":["nix","nixos","systemd-nspawn"],"latest_commit_sha":null,"homepage":"","language":"Nix","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/aorith.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":"2023-09-24T14:10:43.000Z","updated_at":"2025-02-21T15:05:12.000Z","dependencies_parsed_at":"2024-01-03T20:23:32.938Z","dependency_job_id":"1afa9733-8fe3-4af8-81bc-6e5f0bb47b5b","html_url":"https://github.com/aorith/media-stack","commit_stats":null,"previous_names":["aorith/media-stack"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aorith%2Fmedia-stack","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aorith%2Fmedia-stack/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aorith%2Fmedia-stack/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aorith%2Fmedia-stack/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aorith","download_url":"https://codeload.github.com/aorith/media-stack/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248483126,"owners_count":21111429,"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":["nix","nixos","systemd-nspawn"],"created_at":"2024-11-14T20:28:04.643Z","updated_at":"2025-04-11T21:33:06.429Z","avatar_url":"https://github.com/aorith.png","language":"Nix","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Media Stack\n\n\u003e Media Stack inside of a systemd-nspawn NixOs Container\n\nA modified version of [https://github.com/tfc/nspawn-nixos](https://github.com/tfc/nspawn-nixos) that uses a plain\ndirectory instead of tarballs to generate the rootfs of the container.\n\nThis configuration with a tarball (see \"tarball\" branch): ~700 MB  \nWith plain FS: 17 MB (of course everything else is in the nix store)\n\n```sh\n$ du -sh result/\n12K     result/\n$ sudo du -sh /var/lib/machines/media-stack\n17M     /var/lib/machines/media-stack\n```\n\n- Only works if the container runs in the same machine that builds it.\n- Works on non NixOS linux machines, only nix is required.\n- Containers must bind the local `/nix/store`, see [media-stack.nspawn](./media-stack.nspawn).\n- Building and importing is faster.\n\nTo create a new container:\n\n- Clone this repository\n- Edit [configuration.nix](./configuration.nix)\n- Edit [Makefile](./Makefile) (change container name)\n- Create a `*.nspawn` file with the container name (see [media-stack.nspawn](./media-stack.nspawn))\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faorith%2Fmedia-stack","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faorith%2Fmedia-stack","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faorith%2Fmedia-stack/lists"}