{"id":15954795,"url":"https://github.com/tembleking/cyberhaven-nix","last_synced_at":"2025-08-14T08:11:13.989Z","repository":{"id":244260891,"uuid":"814718884","full_name":"tembleking/cyberhaven-nix","owner":"tembleking","description":null,"archived":false,"fork":false,"pushed_at":"2024-11-18T10:30:19.000Z","size":6,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-04T06:43:39.973Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/tembleking.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":"2024-06-13T15:02:44.000Z","updated_at":"2024-11-18T10:30:23.000Z","dependencies_parsed_at":"2024-12-17T10:34:03.446Z","dependency_job_id":null,"html_url":"https://github.com/tembleking/cyberhaven-nix","commit_stats":null,"previous_names":["tembleking/cyberhaven-nix"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/tembleking/cyberhaven-nix","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tembleking%2Fcyberhaven-nix","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tembleking%2Fcyberhaven-nix/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tembleking%2Fcyberhaven-nix/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tembleking%2Fcyberhaven-nix/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tembleking","download_url":"https://codeload.github.com/tembleking/cyberhaven-nix/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tembleking%2Fcyberhaven-nix/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270385467,"owners_count":24574556,"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","status":"online","status_checked_at":"2025-08-14T02:00:10.309Z","response_time":75,"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":[],"created_at":"2024-10-07T13:19:54.896Z","updated_at":"2025-08-14T08:11:13.951Z","avatar_url":"https://github.com/tembleking.png","language":"Nix","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Cyberhaven Flake\n\nThis repository contains a Nix flake for installing and running the Cyberhaven on NixOS. This flake uses an existing Debian package, applies necessary patches, and sets up a systemd service to manage it.\n\n## Installation\n\n### Add the flake to your NixOS configuration\n\nAdd the flake to your `flake.nix` configuration file in the inputs and the config:\n\n```nix\n{\n  inputs = {\n    nixpkgs.url = \"github:NixOS/nixpkgs/nixos-unstable\";\n    cyberhaven = {\n      url = \"github:tembleking/cyberhaven-nix\";  # \u003c- Add this input\n      inputs.nixpkgs.follows = \"nixpkgs\";\n    };\n  };\n\n  outputs = { self, nixpkgs, cyberhaven }: {\n    nixosConfigurations = {\n      hostname = nixpkgs.lib.nixosSystem {\n        system = \"x86_64-linux\";\n        modules = [\n          ./configuration.nix\n          cyberhaven.nixosModules.cyberhaven   # \u003c- Add this module config\n        ];\n      };\n    };\n  };\n}\n```\n\n### Configure the service\n\nAdd the following to your NixOS configuration file (usually `configuration.nix`):\n\n```nix\n{\n  services.cyberhaven = {\n    enable = true;\n    installToken = \"your-install-code\";\n  };\n}\n```\n\nReplace `\"your-install-code\"` with your actual install code.\n\n### Rebuild your NixOS system:\n\n```bash\nsudo nixos-rebuild switch\n```\n\nThis command will rebuild your system configuration and start the service.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftembleking%2Fcyberhaven-nix","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftembleking%2Fcyberhaven-nix","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftembleking%2Fcyberhaven-nix/lists"}