{"id":13631168,"url":"https://github.com/lovesegfault/nix-config","last_synced_at":"2025-05-16T08:05:06.107Z","repository":{"id":36991931,"uuid":"176810668","full_name":"lovesegfault/nix-config","owner":"lovesegfault","description":"My personal NixOS config","archived":false,"fork":false,"pushed_at":"2025-05-15T20:09:52.000Z","size":8941,"stargazers_count":393,"open_issues_count":1,"forks_count":11,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-05-15T21:25:13.975Z","etag":null,"topics":["flake","nix","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":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lovesegfault.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,"zenodo":null}},"created_at":"2019-03-20T20:19:57.000Z","updated_at":"2025-05-15T20:09:56.000Z","dependencies_parsed_at":"2025-04-16T17:28:32.240Z","dependency_job_id":"2bdf4b4b-fe7a-498f-a3e3-8fc5b653ace2","html_url":"https://github.com/lovesegfault/nix-config","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lovesegfault%2Fnix-config","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lovesegfault%2Fnix-config/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lovesegfault%2Fnix-config/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lovesegfault%2Fnix-config/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lovesegfault","download_url":"https://codeload.github.com/lovesegfault/nix-config/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254493378,"owners_count":22080126,"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":["flake","nix","nixos-configuration"],"created_at":"2024-08-01T22:02:13.506Z","updated_at":"2025-05-16T08:05:01.099Z","avatar_url":"https://github.com/lovesegfault.png","language":"Nix","funding_links":[],"categories":["Nix"],"sub_categories":[],"readme":"# nix-config [![built with nix](https://builtwithnix.org/badge.svg)](https://builtwithnix.org) [![ci](https://github.com/lovesegfault/nix-config/actions/workflows/ci.yaml/badge.svg)](https://github.com/lovesegfault/nix-config/actions/workflows/ci.yaml)\n\nThis repository holds my NixOS configuration. It is fully reproducible, flakes\nbased, and position-independent, meaning there is no moving around of\n`configuration.nix`.\n\nDeployment is done using [deploy-rs], see [usage](#usage).\n\nFor the configurations' entry points see the individual [hosts], as well as\n[flake.nix]. For adding overlays see [overlays](#Adding-overlays).\n\nHostnames are picked from my [hostname list][hostnames]\n\n## Structure\n\n```\n.\n├── core         # Baseline configurations applicable to all machines\n├── dev          # Developer tooling configuration\n├── graphical    # Sway/i3 configuration for the desktop\n├── hardware     # Hardware-specific configuration\n├── hosts        # Machine definitions\n├── nix          # Nix build support files (overlays, deployment code)\n└── users        # Per-user configurations\n```\n\n## Usage\n\n### Deploying\n\n#### NixOS\n\nTo deploy all hosts:\n\n```console\n$ deploy\n```\n\nTo deploy a specific host:\n\n```console\n$ deploy .#myHost\n```\n\n#### Darwin\n\nFor macOS hosts using `nix-darwin`:\n\n```console \n$ darwin-rebuild --flake ~/src/nix-config#poincare switch\n```\n\n#### Home Manager\n\nFor non-NixOS hosts (i.e. home-manager-only systems such as `beme-glaptop`):\n\n```console\n$ home-manager --flake ~/src/nix-config#myHost switch\n```\n\n### Adding overlays\n\nOverlays should be added as individual nix files to ./nix/overlays with format\n\n```nix\nfinal: prev: {\n    hello = (prev.hello.overrideAttrs (oldAttrs: { doCheck = false; }));\n}\n```\n\nFor more examples see [./nix/overlays][overlays].\n\n[deploy-rs]: https://github.com/serokell/deploy-rs\n[hosts]: https://github.com/lovesegfault/nix-config/blob/master/hosts\n[flake.nix]: https://github.com/lovesegfault/nix-config/blob/master/flake.nix\n[hostnames]: https://gist.github.com/2a059213162c190f125c16a8d4463043\n[overlays]: https://github.com/lovesegfault/nix-config/blob/master/nix/overlays\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flovesegfault%2Fnix-config","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flovesegfault%2Fnix-config","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flovesegfault%2Fnix-config/lists"}