{"id":17172654,"url":"https://github.com/jsonnull/configuration","last_synced_at":"2025-03-24T20:14:34.377Z","repository":{"id":90133681,"uuid":"100428915","full_name":"jsonnull/configuration","owner":"jsonnull","description":null,"archived":false,"fork":false,"pushed_at":"2025-03-23T23:08:21.000Z","size":255,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-24T00:20:08.526Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jsonnull.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}},"created_at":"2017-08-15T23:54:49.000Z","updated_at":"2025-03-23T23:08:24.000Z","dependencies_parsed_at":null,"dependency_job_id":"13e153ee-623e-479c-8b24-3885cc6a07ba","html_url":"https://github.com/jsonnull/configuration","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/jsonnull%2Fconfiguration","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jsonnull%2Fconfiguration/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jsonnull%2Fconfiguration/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jsonnull%2Fconfiguration/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jsonnull","download_url":"https://codeload.github.com/jsonnull/configuration/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245344005,"owners_count":20599867,"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":[],"created_at":"2024-10-14T23:37:34.827Z","updated_at":"2025-03-24T20:14:34.355Z","avatar_url":"https://github.com/jsonnull.png","language":"Nix","funding_links":[],"categories":[],"sub_categories":[],"readme":"# dotfiles\n\n## Prerequisites (non-NixOS)\n\n- Install nix\n  - [OS X](https://nixos.org/download)\n  - [WSL](https://github.com/nix-community/NixOS-WSL)\n    - See additional pre-installition steps below\n- [Install home-manager](https://nix-community.github.io/home-manager/index.html#ch-installation)\n- [Install packer](https://github.com/wbthomason/packer.nvim#quickstart)\n- [Install Iosevka (patched)](https://www.nerdfonts.com/font-downloads)\n\n### Additional pre-installation steps for WSL:\n\n1. Run update as root to allow nixos-rebuild to work:\n\n   ```sh\n   sudo nix-channel --update\n   ```\n\n2. Update configuration in `/etc/nixos/configuration.nix`:\n\n   ```nix\n   wsl.defaultUser = \"jsonnull\";\n\n   nix.extraOptions = ''\n     experimental-features = nix-command flakes\n   '';\n   ```\n\n## Install\n\n1. Clone the repo to `~/configuration`:\n\n   ```sh\n   git clone --recurse-submodules git@github.com:jsonnull/configuration.git ~/configuration\n   ```\n\n2. Depending on which system is being managed, install the configuration.\n\n   NixOS:\n\n   ```sh\n   sudo mv /etc/nixos /etc/nixos.bak\n   sudo ln -s /home/json/configuration/ /etc/nixos\n   sudo nixos-rebuild switch --impure # Impure required for private configs for now\n   ```\n\n   WSL:\n\n   ```sh\n   nix run --impure ~/configuration/#homeConfigurations.wsl.activationPackage\n\n   # Afterwards, update /etc/nixos/configuration.nix:\n   # users.defaultUserShell = \"/home/jsonnull/.nix-profile/bin/zsh\";\n   ```\n\n   MacBook:\n\n   ```sh\n   nix run --impure ~/configuration/#homeConfigurations.macbook.activationPackage\n   ```\n\n3. Install neovim plugins:\n\n   ```sh\n   vim +PackerSync\n   ```\n\n4. When making updates to configs, switch to the new system.\n\n   WSL:\n\n   ```sh\n   home-manager switch --impure --flake ~/configuration#wsl\n   ```\n\n   MacBook:\n\n   ```sh\n   home-manager switch --impure --flake ~/configuration#macbook\n   ```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjsonnull%2Fconfiguration","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjsonnull%2Fconfiguration","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjsonnull%2Fconfiguration/lists"}