{"id":15392678,"url":"https://github.com/jackdbd/nix-config","last_synced_at":"2025-10-12T09:05:50.211Z","repository":{"id":211511077,"uuid":"729079386","full_name":"jackdbd/nix-config","owner":"jackdbd","description":"❄️ NixOS and Home Manager configurations for my machines","archived":false,"fork":false,"pushed_at":"2025-09-22T13:03:50.000Z","size":528,"stargazers_count":17,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-12T09:05:49.023Z","etag":null,"topics":["dotfiles","flakes","home-manager","nix","nixos","sops","sops-nix"],"latest_commit_sha":null,"homepage":"","language":"Nix","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jackdbd.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","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":"2023-12-08T11:09:41.000Z","updated_at":"2025-09-30T16:05:15.000Z","dependencies_parsed_at":"2023-12-09T02:26:15.986Z","dependency_job_id":"f250e6a1-5ec6-4f1f-a3fa-60e5b1039572","html_url":"https://github.com/jackdbd/nix-config","commit_stats":null,"previous_names":["jackdbd/nix-config"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/jackdbd/nix-config","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jackdbd%2Fnix-config","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jackdbd%2Fnix-config/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jackdbd%2Fnix-config/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jackdbd%2Fnix-config/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jackdbd","download_url":"https://codeload.github.com/jackdbd/nix-config/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jackdbd%2Fnix-config/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279010950,"owners_count":26084835,"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-10-12T02:00:06.719Z","response_time":53,"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":["dotfiles","flakes","home-manager","nix","nixos","sops","sops-nix"],"created_at":"2024-10-01T15:15:39.622Z","updated_at":"2025-10-12T09:05:50.206Z","avatar_url":"https://github.com/jackdbd.png","language":"Nix","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ❄️ nix-config\n\n[![Built with Nix](https://img.shields.io/static/v1?logo=nixos\u0026logoColor=white\u0026label=\u0026message=Built%20with%20Nix\u0026color=41439a)](https://builtwithnix.org/)\n\n[NixOS](https://nixos.org/) and [Home Manager](https://nixos.wiki/wiki/Home_Manager) configuration for my machines.\n\n## Installation / Update\n\n### NixOS hosts\n\nFrom **the root of this repository**, apply **both** the NixOS configuration and the Home Manager configuration:\n\n```sh\nsudo nixos-rebuild switch --flake ./#x220-nixos --show-trace --verbose\n```\n\nFrom **the root of this repository**, apply **only** the Home Manager configuration:\n\n```sh\nhome-manager switch \\\n  --extra-experimental-features nix-command \\\n  --extra-experimental-features flakes \\\n  --flake .#jack@x220-nixos\n```\n\n\u003e ℹ️ As long as the configuration of a host (e.g. `nixos/hosts/x220/configuration.nix`) includes `nix.settings.experimental-features = [ \"nix-command\" \"flakes\" ];` the `--extra-experimental-features` flags can be omitted.\n\n```sh\nhome-manager switch --flake .#jack@x220-nixos\n```\n\n## Docs\n\n- [Create a bootable USB stick](./docs/create-bootable-USB-stick.md)\n- [Setup a new NixOS machine](./docs/setup-new-nixos-machine.md)\n- [Setup a new generic Linux machine](./docs/setup-new-generic-linux-machine.md)\n- [Useful commands](./docs//useful-commands.md)\n\n## Credits\n\nI owe a lot to [Vimjoyer](https://www.youtube.com/@vimjoyer/videos) and his excellent videos on NixOS and Home Manager.\n\nI also learned a lot by looking at other people's NixOS and Home Manager configurations. Here is a non exhaustive list of repositories I often look at for inspiration, and why I think they are worth mentioning.\n\n### [cadey/nixos-configs](https://tulpa.dev/cadey/nixos-configs)\n\n- it configures [many hosts](https://tulpa.dev/cadey/nixos-configs/src/branch/main/hosts) and [many users](https://tulpa.dev/cadey/nixos-configs/src/branch/main/common/users).\n\n### [davidak/nixos-config](https://codeberg.org/davidak/nixos-config)\n\n- it's well organized and well documented.\n- it configures [20 hosts](https://codeberg.org/davidak/nixos-config/src/branch/main/machines), from laptops, to a [NAS](https://codeberg.org/davidak/nixos-config/src/branch/main/machines/nas), to a [Pinephone](https://codeberg.org/davidak/nixos-config/src/branch/main/machines/pinephone).\n- it defines [many profiles](https://codeberg.org/davidak/nixos-config/src/branch/main/profiles).\n\n### [fricklerhandwerk/settings](https://github.com/fricklerhandwerk/settings)\n\n- it configures [many hosts](https://github.com/fricklerhandwerk/settings/tree/main/user/machines).\n- it manages [several versions of nixpkgs](https://github.com/fricklerhandwerk/settings/tree/main/system/nixpkgs).\n- it documents [how to deploy the configuration](https://github.com/fricklerhandwerk/settings/tree/main/user) to a new machine.\n- it cites other Nix configurations to learn from.\n\n### [gvolpe/nix-config](https://github.com/gvolpe/nix-config)\n\n- it's well organized and well documented.\n- it contains a few [notes](https://github.com/gvolpe/nix-config/tree/master/notes) that explain how to manage this configuration.\n- it configures Neovim using an [external Nix flake](https://github.com/gvolpe/neovim-flake).\n- it includes a [build script](https://github.com/gvolpe/nix-config/blob/master/build) to deploy the configuration to a new NixOS machine.\n\n### [K900/nix](https://gitlab.com/K900/nix)\n\n- it configures [many hosts](https://gitlab.com/K900/nix/-/tree/master/machines).\n- it uses a nice way of [organizing age-encrypted secrets](https://gitlab.com/K900/nix/-/tree/master/secrets).\n\n### [KiaraGrouwstra/cfg](https://github.com/KiaraGrouwstra/cfg)\n\n- it's well documented.\n- it has a [modular Home Manager configuration](https://github.com/KiaraGrouwstra/cfg/tree/main/home-manager/kiara).\n- it includes a [cachix configuration](https://github.com/KiaraGrouwstra/cfg/tree/main/cachix).\n\n### [Misterio77/nix-starter-configs/minimal](https://github.com/Misterio77/nix-starter-configs/tree/main/minimal)\n\n- it's a great starter configuration for Nix beginners.\n- it clearly separates the NixOS (system-wide) configuration from the Home Manager (user) configuration. As far as I know, [this pattern is followed by most of the Nix community](https://discourse.nixos.org/t/how-do-you-organize-your-configuration/7306).\n\n### [ryan4yin/nix-config](https://github.com/ryan4yin/nix-config)\n\n- it's well documented. There is a short README in almost any directory. This keeps the documentation focused on a small subset of the entire configuration. I really like this approach.\n- the author wrote this [NixOS \u0026 Flakes Book](https://nixos-and-flakes.thiscute.world/preface).\n\n### [TheMaxMur/NixOS-Configuration](https://github.com/TheMaxMur/NixOS-Configuration)\n\n- it uses [impermanence](https://nixos.wiki/wiki/Impermanence) (as a Home Manager module) to remove files/directories that are not specified in the nix config.\n- it uses [Disko](https://github.com/nix-community/disko) for declarative disk management: luks + lvm + btrfs.\n- it uses [Stylix](https://github.com/danth/stylix) to customize the theme for the entire system and the software you use.\n\n### [thiagokokada/nix-configs](https://github.com/thiagokokada/nix-configs)\n\n- it's well documented.\n- it defines a few [GitHub workflows](https://github.com/thiagokokada/nix-configs/tree/master/.github/workflows) to update Nix flakes.\n- it has a [modular Home Manager configuration](https://github.com/thiagokokada/nix-configs/tree/master/home-manager).\n- it cites other Nix configurations to learn from.\n\n### Other\n\n- [gianarb/dotfiles/nixos](https://github.com/gianarb/dotfiles/tree/main/nixos)\n- [Configuration Collection on NixOS Wiki](https://nixos.wiki/wiki/Configuration_Collection)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjackdbd%2Fnix-config","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjackdbd%2Fnix-config","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjackdbd%2Fnix-config/lists"}