{"id":22113925,"url":"https://github.com/notashelf/nix-kmod-test","last_synced_at":"2025-03-24T04:44:42.547Z","repository":{"id":264968104,"uuid":"868229363","full_name":"NotAShelf/nix-kmod-test","owner":"NotAShelf","description":"What the fuck is a documentation?","archived":false,"fork":false,"pushed_at":"2024-10-06T18:15:33.000Z","size":11,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-19T09:43:15.464Z","etag":null,"topics":[],"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/NotAShelf.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":"2024-10-05T20:10:36.000Z","updated_at":"2024-10-19T21:47:48.000Z","dependencies_parsed_at":"2024-11-27T02:11:54.533Z","dependency_job_id":"02c4179c-d99c-4f55-89f2-9a11ac856be1","html_url":"https://github.com/NotAShelf/nix-kmod-test","commit_stats":null,"previous_names":["notashelf/nix-kmod-test"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NotAShelf%2Fnix-kmod-test","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NotAShelf%2Fnix-kmod-test/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NotAShelf%2Fnix-kmod-test/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NotAShelf%2Fnix-kmod-test/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/NotAShelf","download_url":"https://codeload.github.com/NotAShelf/nix-kmod-test/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245212172,"owners_count":20578440,"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-12-01T11:07:38.640Z","updated_at":"2025-03-24T04:44:42.522Z","avatar_url":"https://github.com/NotAShelf.png","language":"Nix","funding_links":[],"categories":[],"sub_categories":[],"readme":"Experimental.\n\n```bash\n$ nixos-rebuild build-vm --flake .#gamma --builders \"\"\n\n# While logged in\n$ modprobe -r test # test is loaded by default, remove it\n\n# To load it back\n$ modprobe test # load previously unloaded `test` module\n```\n\n## Notes\n\nNixOS/Nixpkgs documentation on building Linux kernels or kernel modules is\n_really_ poor. You get little to no information for anything\nnon-conventional[^1].\n\n### Sources\n\n- [Fun read on writing your own kernel modules](https://blog.sourcerer.io/writing-a-simple-linux-kernel-module-d9dc3762c234)\n- [Nixpkgs manual on building kernel modules](https://nixos.org/manual/nixpkgs/stable/#sec-linux-kernel-developing-modules)\n  (7 lines)\n\n[^1]:\n    \"Conventional\" is doing some heavy-lifting here. A lot of the things done\n    here are conventional _and_ idiomatic. Documented? Absolutely fucking not.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnotashelf%2Fnix-kmod-test","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnotashelf%2Fnix-kmod-test","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnotashelf%2Fnix-kmod-test/lists"}