{"id":21496781,"url":"https://github.com/blank2121/nixvim","last_synced_at":"2025-03-17T12:22:31.660Z","repository":{"id":218824400,"uuid":"747010033","full_name":"blank2121/nixvim","owner":"blank2121","description":"My personal nixvim setup","archived":false,"fork":false,"pushed_at":"2025-03-02T05:12:28.000Z","size":776,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-02T06:19:21.439Z","etag":null,"topics":["config","neovim","nix","nixos","vim"],"latest_commit_sha":null,"homepage":"","language":"Nix","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/blank2121.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}},"created_at":"2024-01-23T04:36:49.000Z","updated_at":"2025-03-02T05:12:31.000Z","dependencies_parsed_at":"2024-01-24T02:28:30.282Z","dependency_job_id":"c19bfb3a-a023-409a-82a5-d879e703fd16","html_url":"https://github.com/blank2121/nixvim","commit_stats":null,"previous_names":["blank2121/nixvim"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blank2121%2Fnixvim","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blank2121%2Fnixvim/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blank2121%2Fnixvim/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blank2121%2Fnixvim/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/blank2121","download_url":"https://codeload.github.com/blank2121/nixvim/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244031058,"owners_count":20386534,"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":["config","neovim","nix","nixos","vim"],"created_at":"2024-11-23T16:18:52.769Z","updated_at":"2025-03-17T12:22:31.653Z","avatar_url":"https://github.com/blank2121.png","language":"Nix","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1 style=\"text-align: center;\"\u003eMy NixVim Config\u003c/h1\u003e\n\n\u003ch2 align=\"center\"\u003e\n  \u003cpicture\u003e\n    \u003cimg src=\"./assets/nixvim_icon.svg\" width=\"25%\" /\u003e\n  \u003c/picture\u003e\n\u003c/h2\u003e\n\n\u003e \u003cp style=\"text-align: center;\"\u003e\"stole\" this svg from [NixVim](https://github.com/nix-community/nixvim/) repo\u003c/p\u003e\n\n---\n\n\u003ch2 style=\"text-align: center;\"\u003eSneak Peak\u003c/h3\u003e\n\n\u003cimg src=\"./assets/main1.png\"/\u003e\n\u003cimg src=\"./assets/main2.png\"/\u003e\n\u003cimg src=\"./assets/main3.png\"/\u003e\n\n\n---\n\n## Installation\nIf you would like to use this, there are three ways to do so. Hopefully it \nwas clear as this is **Nix**Vim and not Vim or NeoVim, so you will need nix installed.\n\nFinal thing to say is there is a code version and a writing version which are nearly identical \nbesides the color schemes and that the writer has fewer plugins as it doesn't need LSPs for code. \nTo choose one or both, just use the same patters that is shown but where ever there is `#code` or \n`.code`, replace that with `#writer` or `.writer` respectively.\n\n#### **Method 1: Add to NixOS flake (Recommended method)**\nJust add it to your NixOS `flake.nix` file:\n\n```nix\n{\n    inputs = {\n        nixvim.url = \"github:blank2121/nixvim\";\n        ...\n    };\n}\n```\n\nAfter, to install it as a package that can be used, add it to your `environment.systemPackages`\n\n```nix\n{ inputs, pkgs, ... }:\n\n{\n  environment.systemPackages = [\n    inputs.nixvim.packages.\"${pkgs.system}\".code\n    ...\n  ];\n  ...\n}\n```\n\nNote that if you are having `environment.systemPackages` in the `flake.nix` file, then do not do use `\"${pkgs.system}\"` but `\"${system}\"`\n\n#### **Method 2: Running it**\nYou could not install it and just run it and to use the configuration, you won't need to clone the repository. All you need to do is run `nix run github:blank2121/nixvim#code -- \u003cfile\u003e`\n\n#### **Method 3: Adding it to Profile (NOT RECOMMENDED)**\nTo install it to your profile simply run `nix profile install github:blank2121/nixvim#code`\n\n\u003cbr/\u003e\n\nIf you want to remove it (or anything for that matter) from your profile run `nix profile list` then find the index that has `github:blank2121/nixvim` and then run `nix profile remove \u003cindex\u003e` with the corresponding index.\n\n---\n\n## Attribution\nThank you to the NixVim maintainers [@GaetanLepage](https://github.com/GaetanLepage), [@traxys](https://github.com/traxys), [@MattSturgeon](https://github.com/MattSturgeon) for this amazing project and everyone that contributed to it.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fblank2121%2Fnixvim","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fblank2121%2Fnixvim","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fblank2121%2Fnixvim/lists"}