{"id":20693962,"url":"https://github.com/cristianoliveira/dotfiles","last_synced_at":"2025-10-03T18:05:46.766Z","repository":{"id":2064498,"uuid":"45643839","full_name":"cristianoliveira/dotfiles","owner":"cristianoliveira","description":"My dotfiles for OSX and NixOS. :sunglasses: :package:","archived":false,"fork":false,"pushed_at":"2025-04-18T11:38:28.000Z","size":16351,"stargazers_count":11,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-18T22:18:12.126Z","etag":null,"topics":["macos","nix","nixos","osx","tmux","vim","zsh"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cristianoliveira.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":"2015-11-05T22:35:46.000Z","updated_at":"2025-04-18T11:38:32.000Z","dependencies_parsed_at":"2023-07-06T06:03:34.589Z","dependency_job_id":"36dccbc5-f471-494b-932d-33f27da22cfb","html_url":"https://github.com/cristianoliveira/dotfiles","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cristianoliveira%2Fdotfiles","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cristianoliveira%2Fdotfiles/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cristianoliveira%2Fdotfiles/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cristianoliveira%2Fdotfiles/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cristianoliveira","download_url":"https://codeload.github.com/cristianoliveira/dotfiles/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250304364,"owners_count":21408789,"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":["macos","nix","nixos","osx","tmux","vim","zsh"],"created_at":"2024-11-16T23:41:50.127Z","updated_at":"2025-10-03T18:05:46.760Z","avatar_url":"https://github.com/cristianoliveira.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# dotfiles\n\nMy \"dotfiles\" is a reproducible development environment for NixOS and macOS. \nI try to keep the DX of both systems as close as possible, as well as, the overall UI/UX. I'd say they are 90% similar.\n\n# System Details\n\n```bash\n          ▗▄▄▄       ▗▄▄▄▄    ▄▄▄▖           me@localhost\n          ▜███▙       ▜███▙  ▟███▛           ----------------------\n           ▜███▙       ▜███▙▟███▛            OS: NixOS 24.05.20 (Uakari) x86_64\n            ▜███▙       ▜██████▛             Host: LENOVO 21MECTO1WW\n     ▟█████████████████▙ ▜████▛     ▟▙       Kernel: 6.6.59\n    ▟███████████████████▙ ▜███▙    ▟██▙      Uptime: 45 mins\n           ▄▄▄▄▖           ▜███▙  ▟███▛      Packages: 1098 (nix-system), 1053 (nix-user)\n          ▟███▛             ▜██▛ ▟███▛       Shell: zsh 5.9\n         ▟███▛               ▜▛ ▟███▛        Resolution: 1920x1200, 1920x1080\n▟███████████▛                  ▟██████████▙  WM: sway\n▜██████████▛                  ▟███████████▛  Terminal: tmux\n      ▟███▛ ▟▙               ▟███▛           CPU: AMD Ryzen 7 PRO 8840HS\n     ▟███▛ ▟██▙             ▟███▛            GPU: AMD ATI Phoenix3 \n    ▟███▛  ▜███▙           ▝▀▀▀▀             Memory: 3397MiB / 27711MiB\n    ▜██▛    ▜███▙ ▜██████████████████▛\n     ▜▛     ▟████▙ ▜████████████████▛\n           ▟██████▙       ▜███▙\n          ▟███▛▜███▙       ▜███▙\n         ▟███▛  ▜███▙       ▜███▙\n         ▝▀▀▀    ▀▀▀▀▘       ▀▀▀▘\n--------------------\n\n                    c.'          me@localhost\n                 ,xNMM.          ---------------------------------\n               .OMMMMo           OS: macOS 14.3.1 23D60 arm64\n               lMM\"              Host: Mac14,9\n     .;loddo:.  .olloddol;.      Kernel: 23.3.0\n   cKMMMMMMMMMMNWMMMMMMMMMM0:    Uptime: 4 days, 22 hours, 41 mins\n .KMMMMMMMMMMMMMMMMMMMMMMMWd.    Packages: 256 (brew), 469 (nix-system)\n XMMMMMMMMMMMMMMMMMMMMMMMX.      Shell: bash 5.2.26\n;MMMMMMMMMMMMMMMMMMMMMMMM:       Resolution: 1920x1080 @ FHDHz, 3024x1964\n:MMMMMMMMMMMMMMMMMMMMMMMM:       DE: Aqua\n.MMMMMMMMMMMMMMMMMMMMMMMMX.      WM: AeroSpace\n kMMMMMMMMMMMMMMMMMMMMMMMMWd.    Terminal: tmux\n 'XMMMMMMMMMMMMMMMMMMMMMMMMMMk   CPU: Apple M2 Pro\n  'XMMMMMMMMMMMMMMMMMMMMMMMMK.   GPU: Apple M2 Pro\n    kMMMMMMMMMMMMMMMMMMMMMMd     Memory: 20678MiB / 32768MiB\n     ;KMMMMMMMWXXWMMMMMMMk.\n       \"cooc*\"    \"*coo'\"\n```\n\n### Look and feel\n\n![systemprint](https://github.com/cristianoliveira/dotfiles/assets/3959744/808ecffc-f4b3-426a-ab1c-fa589ee702fd)\n\n\n# What do I use?\n\n  - Nix (for package and system management)\n  - Neovim\n  - Tmux\n  - ZSH (oh-my-zsh)\n  - Terminal: Alacritty\n  - WM: AeroSpace (osx) / sway (linux)\n  - Launcher: alfred (osx) / ulauncher (linux)\n  - Others: Check `nix/*` folder\n\n### I work mostly with\n\n  - Typescript \u0026 Javascript (React \u0026 Node, et all)\n  - HTML \u0026 CSS\n  - Rust\n  - Golang\n\n  A bunch of \n\n  - Bash\n\n  And a bit of\n\n  - Ruby\n  - Python\n\n## Installing\n\nCheck detailed explanation in `nix/README.md` doc, but you will need nix\n\n### Prerequisites\n\n - [Nix for packaging](https://nixos.org/learn/)\n - Generate your [ssh key and add to your github](https://docs.github.com/en/authentication/connecting-to-github-with-ssh/generating-a-new-ssh-key-and-adding-it-to-the-ssh-agent)\n - In short `ssh-keygen -t ed25519 -C \"your_email@example.com\"` and add the key to your github account.\n\nIn short:\n```bash\ncurl https://raw.githubusercontent.com/cristianoliveira/dotfiles/main/install.sh | bash -s - osx\n# or\ncurl https://raw.githubusercontent.com/cristianoliveira/dotfiles/main/install.sh | bash -s - linux\n```\n\nOr step by step\n\n```bash\ngit clone git@github.com:cristianoliveira/dotfiles.git ~/.dotfiles\n\ncd ~/.dotfiles\n\n# For linux users\nmake linux\n# or\nmake osx\n\n# Updating and setup\nmake setup\n```\n\n### OS change workflow\n\nOnce you make a change in `nix/*` run `nix/rebuild.sh` and follow the steps.\n(Optional) Use the watcher with `fzz -t nix` which will auto-rebuild each time something changes.\n\n### Mappings\n\nKey modifier (MOD): `Command` (osx) and `Alt` (Nixos) \n\n - `ctrl + space`: open app launcher\n - `MOD + number`: move to workspace\n - `MOD + shift + number`: send the current window to a workspace\n - `MOD + ctrl + f`: move the current window to fullscreen (over other windows).\n - `MOD + ctrl + h/j/k/l`: move focus to a window depending on the current focused window.\n - `MOD + shift + h/j/k/l`: move the window to a new position.\n - `MOD + ctrl + enter`: Open terminal or, if there is a terminal opened, shift focus to.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcristianoliveira%2Fdotfiles","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcristianoliveira%2Fdotfiles","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcristianoliveira%2Fdotfiles/lists"}