{"id":16369672,"url":"https://github.com/dcsunset/nix-config","last_synced_at":"2026-06-30T01:31:58.063Z","repository":{"id":282053729,"uuid":"739222102","full_name":"DCsunset/nix-config","owner":"DCsunset","description":"Personal common Nix configurations","archived":false,"fork":false,"pushed_at":"2025-04-06T01:16:13.000Z","size":220,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-30T04:54:42.960Z","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":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/DCsunset.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":"2024-01-05T03:52:06.000Z","updated_at":"2025-04-06T01:16:16.000Z","dependencies_parsed_at":"2025-04-05T18:37:33.491Z","dependency_job_id":null,"html_url":"https://github.com/DCsunset/nix-config","commit_stats":null,"previous_names":["dcsunset/nix-config"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/DCsunset/nix-config","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DCsunset%2Fnix-config","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DCsunset%2Fnix-config/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DCsunset%2Fnix-config/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DCsunset%2Fnix-config/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DCsunset","download_url":"https://codeload.github.com/DCsunset/nix-config/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DCsunset%2Fnix-config/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34949234,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-29T02:00:05.398Z","response_time":58,"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-11T02:56:00.042Z","updated_at":"2026-06-30T01:31:58.033Z","avatar_url":"https://github.com/DCsunset.png","language":"Nix","funding_links":[],"categories":[],"sub_categories":[],"readme":"# nix-config\n\nMy person common Nix config.\n\n\n## Usage\n\nSimply import the module in your home-manager config,\nmake sure the following config is set:\n- `dc-lib = nur-dcsunset.lib` is added to `extraSpecialArgs` in home-manager modules\n- `nur-dcsunset.overlays.pkgs` is added to nixpkgs overlay.\n- `emacs-dcsunset` is added to nixpkgs overlay.\n\nExample:\n\n```nix\n{\n  inputs = {\n    nixpkgs.url = \"github:nixos/nixpkgs/nixos-unstable\";\n    home-manager = {\n      url = \"github:nix-community/home-manager\";\n      inputs.nixpkgs.follows = \"nixpkgs\";\n    };\n    nur-dcsunset = {\n      url = \"github:DCsunset/nur-packages\";\n      inputs.nixpkgs.follows = \"nixpkgs\";\n    };\n    emacs-dcsunset = {\n      url = \"github:DCsunset/emacs-config\";\n      inputs = {\n        nixpkgs.follows = \"nixpkgs\";\n        nur-dcsunset.follows = \"nur-dcsunset\";\n      };\n    };\n    dc-nix-config.url = \"github:DCsunset/nix-config\";\n  };\n\n  outputs = inputs@{ nixpkgs, nur-dcsunset, dc-nix-config, home-manager, ... }: let\n    # Replace this\n    user = \"USER\";\n    homeDir = \"/home/${user}\";\n  in {\n    homeConfigurations.${user} = home-manager.lib.homeManagerConfiguration {\n      pkgs = import nixpkgs {\n        system = \"x86_64-linux\";\n        overlays = [\n          nur-dcsunset.overlays.pkgs\n          (final: prev: {\n            custom = {\n              emacs-dcsunset = inputs.emacs-dcsunset.packages.${prev.system};\n            };\n          })\n        ];\n      };\n      extraSpecialArgs = {\n        dc-lib = nur-dcsunset.lib;\n      };\n\n      modules = [\n        dc-nix-config.home\n        {\n          home.username = user;\n          home.homeDirectory = homeDir;\n          home.stateVersion = \"24.11\";\n\n          programs.home-manager.enable = true;\n\n          # dc-home options\n          # dc-home.gui.enable = true;\n        }\n      ];\n    };\n  };\n}\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdcsunset%2Fnix-config","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdcsunset%2Fnix-config","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdcsunset%2Fnix-config/lists"}