{"id":28421658,"url":"https://github.com/jesusmtnez/dotfiles","last_synced_at":"2025-06-29T19:33:18.423Z","repository":{"id":26912691,"uuid":"30374647","full_name":"JesusMtnez/dotfiles","owner":"JesusMtnez","description":"My personal nix dotfiles. Mirror from: https://codeberg.org/JesusMtnez/dotfiles","archived":false,"fork":false,"pushed_at":"2025-06-22T06:03:28.000Z","size":4500,"stargazers_count":6,"open_issues_count":3,"forks_count":1,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-06-22T07:18:33.885Z","etag":null,"topics":["dotfiles","emacs","git","macos","nix","nix-config","nixos","zsh","zshrc"],"latest_commit_sha":null,"homepage":"","language":"Shell","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/JesusMtnez.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":"2015-02-05T19:43:48.000Z","updated_at":"2025-06-22T06:03:31.000Z","dependencies_parsed_at":"2024-01-14T04:38:29.076Z","dependency_job_id":"9324ace1-50f6-4a94-8fef-e12b6b2d7d7e","html_url":"https://github.com/JesusMtnez/dotfiles","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/JesusMtnez/dotfiles","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JesusMtnez%2Fdotfiles","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JesusMtnez%2Fdotfiles/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JesusMtnez%2Fdotfiles/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JesusMtnez%2Fdotfiles/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/JesusMtnez","download_url":"https://codeload.github.com/JesusMtnez/dotfiles/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JesusMtnez%2Fdotfiles/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262655077,"owners_count":23343753,"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","emacs","git","macos","nix","nix-config","nixos","zsh","zshrc"],"created_at":"2025-06-05T06:09:11.146Z","updated_at":"2025-06-29T19:33:18.404Z","avatar_url":"https://github.com/JesusMtnez.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n\n\u003cimg src=\"https://raw.githubusercontent.com/NixOS/nixos-artwork/master/logo/nix-snowflake-colours.svg\" width=\"144px\"\u003e\n\n# JesusMtnez's dotfiles\n\n_using nix to rule them all_\n\n[![Built with nix][NIX-badge]][NIX-link]\n[![woodpecker-status][STATUS-badge]][STATUS-link]\n[![MIT LICENSE][LICENSE-badge]][LICENSE-link]\n\n\u003c/div\u003e\n\n  [STATUS-badge]: https://ci.codeberg.org/api/badges/13009/status.svg\n  [STATUS-link]: https://ci.codeberg.org/repos/13009\n  [NIX-badge]: https://img.shields.io/badge/nix-blue.svg?logo=nixos\u0026labelColor=73C3D5\n  [NIX-link]: https://builtwithnix.org\n  [LICENSE-badge]: https://img.shields.io/badge/license-MIT-green.svg\n  [LICENSE-link]: /LICENSE\n\n## Machines\n\n| Name |      | OS  | DE  | WM  | Use |\n| :-:  | :-:  | :-: | :-: | :-: | :-: |\n| `albus` | \u003cimg width=\"18\" src=\"https://cdn.simpleicons.org/nixos\" /\u003e | NixOS 24.11 | KDE |  - | _Personal_ |\n\n## Installation\n\nThis dotfiles are manage using [`nix`](https://nixos.wiki/wiki/Nix) and [`home-manager`](https://github.com/rycee/home-manager).\n\n### NixOS setup\n\n1. Clone the repository and go inside the folder\n\n```sh\nnix run --extra-experimental-features nix-command --extra-experimental-features flakes github:nixos/nixpkgs#git -- clone https://codeberg.com/JesusMtnez/dotfiles $HOME/.dotfiles\n```\n\n2. Switch to `$HOSTNAME` flake.\n\n```sh\nnixos-rebuild switch --use-remote-sudo --flake $HOME/.dotfiles/.\n```\n\n### MacOS setup\n\nBefore attempting to use this dotfiles in macOS systems, we need to:\n\n1. Install _Command Line Tools_ (includes `git`)\n```sh\nxcode-select --install\n```\n\n2. Install `homebrew` using its latest [`pkg`][brew-pkg].\n\n```sh\n# Setup brew in PATH\n(echo; echo 'eval \"$(/opt/homebrew/bin/brew shellenv)\"') \u003e\u003e $HOME/.zprofile\n```\n\n3. Install `nix` using DeterminateSystems [`pkg`][nix-pkg].\n\n  [brew-pkg]: https://github.com/Homebrew/brew/releases\n  [nix-pkg]: https://install.determinate.systems/nix-installer-pkg/stable/Universal\n\n4. Setup `nix-darwin` applying the flake for the first time.\n\n```sh\nnix run nix-darwin -- switch --flake $HOME/.dotfiles/.\n```\n\n5. Switch to `$HOSTNAME` flake.\n\n```sh\n# Using nix-darwin, build and switch to your configuration\ndarwin-rebuild switch --flake $HOME/.dotfiles/.\n```\n\n## Notes\n\n#### Restore application menu in KDE\n\nIn _System Settings / Startup and Shutdown / Background Services_ disable _Application menus daemon_.\n\n#### gnome-keyring integration in XFCE\n\nIn _Settings Manager / Session and Startup / Advanced_ check _Launch GNOME services at startup_.\n\n### NixOS sqlite database corrupted\n\n1. Check integrity: `sqlite3 /nix/var/nix/db/db.sqlite 'pragma integrity_check'`.\n2. If the result is not `OK`:\n\n```\n# cd /nix/var/nix/db\n# nix-shell -p sqlite\n\n[nix-shell:/nix/var/nix/db]# sqlite3 db.sqlite \".backup 'db.bak.sqlite' \"\n\n[nix-shell:/nix/var/nix/db]# sqlite3 db.sqlite\nsqlite\u003e .output db.sql\nsqlite\u003e .dump\n\n[nix-shell:/nix/var/nix/db]# sqlite3 db.new.sqlite \u003c db.sql\n\n[nix-shell:/nix/var/nix/db]# mv db.new.sqlite db.sqlite\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjesusmtnez%2Fdotfiles","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjesusmtnez%2Fdotfiles","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjesusmtnez%2Fdotfiles/lists"}