{"id":25929676,"url":"https://github.com/sofianedjerbi/devflake","last_synced_at":"2026-04-16T15:04:38.377Z","repository":{"id":278846118,"uuid":"936964339","full_name":"sofianedjerbi/devflake","owner":"sofianedjerbi","description":"NixOs System Configuration","archived":false,"fork":false,"pushed_at":"2025-04-10T05:41:57.000Z","size":3653,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-10T06:36:36.576Z","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/sofianedjerbi.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":"2025-02-22T02:47:13.000Z","updated_at":"2025-04-10T05:42:00.000Z","dependencies_parsed_at":"2025-03-23T18:23:32.248Z","dependency_job_id":null,"html_url":"https://github.com/sofianedjerbi/devflake","commit_stats":null,"previous_names":["sofianedjerbi/devflake"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/sofianedjerbi/devflake","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sofianedjerbi%2Fdevflake","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sofianedjerbi%2Fdevflake/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sofianedjerbi%2Fdevflake/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sofianedjerbi%2Fdevflake/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sofianedjerbi","download_url":"https://codeload.github.com/sofianedjerbi/devflake/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sofianedjerbi%2Fdevflake/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31891073,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-16T11:36:10.202Z","status":"ssl_error","status_checked_at":"2026-04-16T11:36:09.652Z","response_time":69,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5: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":[],"created_at":"2025-03-03T22:19:01.182Z","updated_at":"2026-04-16T15:04:38.371Z","avatar_url":"https://github.com/sofianedjerbi.png","language":"Nix","funding_links":[],"categories":[],"sub_categories":[],"readme":"# DevFlake: Multi-User NixOS Configuration\n\nA modular NixOS configuration using flakes that supports multiple hosts and users.\n\n## Quick Start\n\n```bash\n# Deploy to current host\nsudo nixos-rebuild switch --flake .#hostname\n\n# Update packages\nnix flake update\n\n# Add host/user\n./setup.sh add-host hostname\n./setup.sh add-user username\n```\n\n## Features\n\n- Automatic discovery of hosts and users\n- Common settings shared across machines\n- Per-user configurations\n- Modular structure for easy extension\n\n## Project Structure\n\n```\n├── flake.nix            # Main entry point\n├── hosts/               # Host-specific configs\n│   ├── _modules/        # Common host settings\n│   └── hostname/        # Host configuration\n├── users/               # User configs\n│   ├── _modules/        # Common user settings\n│   └── username/        # User configuration\n├── modules/             # Shared modules\n│   ├── desktop/         # Desktop environment modules\n│   └── home/            # Home-manager modules\n└── resources/           # Shared resources\n```\n\n## Adding Users to a Host\n\nEdit the `enabledUsers` list in a host's config:\n\n```nix\n# hosts/hostname/default.nix\nenabledUsers = [\n  \"sofiane\"\n  \"newuser\"\n];\n```\n\n## Common Tasks\n\n```bash\n# Update specific input\nnix flake lock --update-input nixpkgs\n\n# Build Home Manager configuration\nhome-manager switch --flake .#username\n\n# Deploy to specific host\n./setup.sh deploy hostname\n```\n\n## Development\n\n```bash\n# Enter development shell\nnix develop\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsofianedjerbi%2Fdevflake","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsofianedjerbi%2Fdevflake","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsofianedjerbi%2Fdevflake/lists"}