{"id":20056809,"url":"https://github.com/ipetkov/dotfiles","last_synced_at":"2025-08-31T14:05:48.183Z","repository":{"id":37081264,"uuid":"330815207","full_name":"ipetkov/dotfiles","owner":"ipetkov","description":"My personal dotfiles, managed with Nix and home-manager","archived":false,"fork":false,"pushed_at":"2025-04-28T02:10:01.000Z","size":945,"stargazers_count":19,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-28T03:23:15.576Z","etag":null,"topics":["dotfiles","home-manager","nix","nixos"],"latest_commit_sha":null,"homepage":"","language":"Nix","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"unlicense","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ipetkov.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,"zenodo":null}},"created_at":"2021-01-18T23:54:14.000Z","updated_at":"2025-04-28T02:10:06.000Z","dependencies_parsed_at":"2023-11-07T04:12:56.298Z","dependency_job_id":"81f816f4-8472-4253-bc7f-ad04152bdc9f","html_url":"https://github.com/ipetkov/dotfiles","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/ipetkov%2Fdotfiles","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ipetkov%2Fdotfiles/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ipetkov%2Fdotfiles/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ipetkov%2Fdotfiles/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ipetkov","download_url":"https://codeload.github.com/ipetkov/dotfiles/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252514856,"owners_count":21760451,"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":["dotfiles","home-manager","nix","nixos"],"created_at":"2024-11-13T12:56:36.683Z","updated_at":"2025-05-05T14:30:55.965Z","avatar_url":"https://github.com/ipetkov.png","language":"Nix","readme":"# ipetkov's dotfiles\n\nThese are my personal dotfiles and NixOS/home-manager configurations for\nsetting everything up. I doubt anyone would even want to use this directly,\nbut feel free to use it for your own inspiration (or apply any workarounds for\nissues I've hit...).\n\n## Layout Structure\n\nI've tried to organize things in a logical way, so for the time being,\nthings are structured as follows:\n\n* `config`: contents which might represent the `~/.config` directory. Basically\n\"literal\" configs and definitions which get linked/incorporated through home-manager\n* `docs`: additional documentation files, mostly for myself, but may be useful to others\n* `homeConfigurations`: top-level fully instantiated home-manager\n  configurations. Useful for having the CI cache the artifacts and make sure\n  that everything builds. Also includes a `module` attribute which allows for\n  importing/overriding the definition as needed.\n* `homeManagerModules`: a collection of \"common\" home-manager modules which could be used\nin other dependent flakes. They're definitely tailored to my own preferences though, and lack\nrobust options (like how home-manager might lay things out)!\n* `lib`: collection of helper functions for doing things like crawling\ndirectories and automatically making flake outputs of things\n* `nixosConfigurations`: top level system configurations, named by machine/host name\n* `nixosModules`: same as `homeManagerModules` but related to system configuration modules\n* `pkgs`: my own package definitions which aren't available upstream\n* `users`: common user definitions that can be reused across system configurations.\nNormally this directory would have a `default.nix` module which defines user groups,\nhome directories, etc., and a `home.nix` module which contains the root of the\nhome-manager configurations for this user.\n\n## Additional Documentation\n* [Machine initialization](./docs/machine_init.md) - How to prepare a machine for NixOS installation\n\n## Applying configuration changes\n\nApplying configuration changes on a local machine can be done as follows:\n\n```sh\ncd ~/dotfiles\nsudo nixos-rebuild switch --flake .\n# This will automatically pick the configuration name based on the hostname\n```\n\nApplying configuration changes to a remote machine can be done as follows:\n\n```sh\ncd ~/dotfiles\nnixos-rebuild switch --flake .#nameOfMachine --target-host machineToSshInto --use-remote-sudo\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fipetkov%2Fdotfiles","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fipetkov%2Fdotfiles","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fipetkov%2Fdotfiles/lists"}