{"id":31684672,"url":"https://github.com/lillecarl/nix-csi","last_synced_at":"2026-02-19T07:26:59.073Z","repository":{"id":296659173,"uuid":"993908952","full_name":"Lillecarl/nix-csi","owner":"Lillecarl","description":"CSI driver for Nixxing Kubernetes, see develop branch!","archived":false,"fork":false,"pushed_at":"2026-02-06T19:40:23.000Z","size":629,"stargazers_count":56,"open_issues_count":1,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-02-06T23:16:10.394Z","etag":null,"topics":["csi","kr8s","kubernetes","nix"],"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/Lillecarl.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-05-31T19:30:58.000Z","updated_at":"2026-02-06T20:04:36.000Z","dependencies_parsed_at":"2025-06-28T16:24:41.450Z","dependency_job_id":"d8eb42e3-db99-4adf-bf15-de9dfd67bb17","html_url":"https://github.com/Lillecarl/nix-csi","commit_stats":null,"previous_names":["lillecarl/knix","lillecarl/cknix","lillecarl/nix-csi"],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/Lillecarl/nix-csi","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Lillecarl%2Fnix-csi","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Lillecarl%2Fnix-csi/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Lillecarl%2Fnix-csi/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Lillecarl%2Fnix-csi/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Lillecarl","download_url":"https://codeload.github.com/Lillecarl/nix-csi/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Lillecarl%2Fnix-csi/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29450845,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-14T15:52:44.973Z","status":"ssl_error","status_checked_at":"2026-02-14T15:52:11.208Z","response_time":53,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["csi","kr8s","kubernetes","nix"],"created_at":"2025-10-08T08:11:55.432Z","updated_at":"2026-02-14T17:14:58.326Z","avatar_url":"https://github.com/Lillecarl.png","language":"Nix","funding_links":[],"categories":[],"sub_categories":[],"readme":"# nix-csi\n\nMount /nix into Kubernetes pods using the CSI Ephemeral Volume feature. Volumes\nshare lifetime with Pods and are embedded into the Podspec.\n\n## Deploying nix-csi\n\nStick your pubkeys in ./keys and they will be imported into the module system\nthen run the following command and you'll have nix-csi deployed.\n```bash\nnix run --file . kubenixEval.deploymentScript -- --yes --prune\n```\n\nIf you'd rather mangle YAML yourself you can use\n```bash\nnix build --file . easykubenix.manifestYAMLFile\n```\nand stuff the result into Kustomize, a blender or your Kubernetes cluster\n\n## Deploying workloads\n\n* [multi-system example](https://github.com/Lillecarl/hetzkube/blob/4ed76ec77bfb104d1c2307b1ba178efa61dd34e2/kubenix/modules/cheapam.nix#L113)\n* [single-system ci example(s)](https://github.com/Lillecarl/nix-csi/blob/3179e5f8383e760bbef313300a224e44f18722c7/kubenix/ci/default.nix)\n* YAML example, because YAML is....cool\n```yaml\nvolumeAttributes:\n  # Pull storePath without eval, prio 1\n  x86_64-linux: /nix/store/hello-......\n  aarch64-linux: /nix/store/hello-......\n  # Evaluates and builds flake, prio 2\n  flakeRef: github:nixos/nixpkgs/nixos-unstable#hello\n  # Evaluates and builds expression, prio 3\n  nixExpr: |\n    let\n      nixpkgs = builtins.fetchTree {\n        type = \"github\";\n        owner = \"nixos\";\n        repo = \"nixpkgs\";\n        ref = \"nixos-unstable\";\n      };\n      pkgs = import nixpkgs { };\n    in\n    pkgs.hello\n```\nYou can specify all these options but the first successful one by priority wins\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flillecarl%2Fnix-csi","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flillecarl%2Fnix-csi","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flillecarl%2Fnix-csi/lists"}