{"id":18309128,"url":"https://github.com/typicalam/nixos-config","last_synced_at":"2026-04-30T10:07:18.422Z","repository":{"id":180183327,"uuid":"664718676","full_name":"TypicalAM/nixos-config","owner":"TypicalAM","description":"My NixOS config","archived":false,"fork":false,"pushed_at":"2025-06-08T21:35:41.000Z","size":85,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-08T22:26:50.054Z","etag":null,"topics":["dotfiles","nixos-configuration"],"latest_commit_sha":null,"homepage":"","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/TypicalAM.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}},"created_at":"2023-07-10T15:35:35.000Z","updated_at":"2025-06-08T21:35:45.000Z","dependencies_parsed_at":"2024-02-13T00:39:12.560Z","dependency_job_id":null,"html_url":"https://github.com/TypicalAM/nixos-config","commit_stats":null,"previous_names":["typicalam/nixos-config"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/TypicalAM/nixos-config","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TypicalAM%2Fnixos-config","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TypicalAM%2Fnixos-config/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TypicalAM%2Fnixos-config/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TypicalAM%2Fnixos-config/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TypicalAM","download_url":"https://codeload.github.com/TypicalAM/nixos-config/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TypicalAM%2Fnixos-config/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32460877,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-29T22:27:22.272Z","status":"online","status_checked_at":"2026-04-30T02:00:05.929Z","response_time":57,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["dotfiles","nixos-configuration"],"created_at":"2024-11-05T16:10:20.920Z","updated_at":"2026-04-30T10:07:18.417Z","avatar_url":"https://github.com/TypicalAM.png","language":"Nix","funding_links":[],"categories":[],"sub_categories":[],"readme":"# NixOS Configuration\n\nThis is my current NixOS configuration. I've come to the conclusion that nix doesn't make sense for me in a graphical setting, those graphical configs are left here for bookeeping. I am actively experimenting with a virtual machine setup running locally using `libvirt`/`qemu`. The VM setup is the following:\n\n- Host share folder via `virtiofs`: `/mnt/share`\n- First `qcow2` image built by my [image-builder](https://github.com/TypicalAM/vm-builder) for system files\n- Second `qcow2` image made by hand for my home directory (GPT with ext4)\n\n## Running\n\nTo build the system image based on the config:\n\n```sh\nmkdir output store\nchmod -R 777 output store # just this one time\ndocker run --rm -it -p 8080:8080 -v ./store:/store -v ./output:/output typicalam/vm-builder\ncurl --data-binary @vm/configuration.nix localhost:8080\n{\"filename\": \"long-hash.qcow2\"} # You can close the container at this point\n```\n\nTo build the second image (home), you can also use [disko](https://github.com/nix-community/disko) if you know what you're doing:\n\n```sh\nchmod +x vm/make-home.sh\n./vm/make-home.sh # generates a home.qcow2\n```\n\nDefine the network, so that the guest machine is accessible using the `2.1.3.7` ip:\n\n```sh\nvirsh --connect=qemu:///system net-define vm/network.xml\nvirsh --connect=qemu:///system start nixnat\nvirsh --connect=qemu:///system define vm/libvirt-config.xml\nvirsh --connect=qemu:///system edit nixvm # look for home directory and change paths to the images\n```\n\n\u003e I ran into some network problems, namely the guest device not being able to access the internet. Changing the default network firewall backend to `iptables` seemed to fix the issue. Probably a fedora-42-only issue.\n\nIf you are using SELinux you will run into permission problems in `libvirt`, so I recommend moving the images to their defualt pool (good) or disabling SELinux (bad). After running those commands you can:\n\n```sh\nvirsh --connect=qemu:///system start nixvm --console\nssh adam@2.1.3.7 # Password 12345678\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftypicalam%2Fnixos-config","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftypicalam%2Fnixos-config","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftypicalam%2Fnixos-config/lists"}