{"id":19533166,"url":"https://github.com/alcestide/nixvim","last_synced_at":"2025-02-26T03:41:39.518Z","repository":{"id":259288431,"uuid":"861433647","full_name":"alcestide/nixvim","owner":"alcestide","description":"ALK's Nixvim configuration.","archived":false,"fork":false,"pushed_at":"2024-11-18T13:01:52.000Z","size":46,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-08T17:22:38.412Z","etag":null,"topics":["flake","neovim","nix","nix-config","nix-configuration","nix-flake","nixos","nixvim","vim"],"latest_commit_sha":null,"homepage":"","language":"Nix","has_issues":true,"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/alcestide.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":"2024-09-22T21:49:10.000Z","updated_at":"2024-11-18T13:01:56.000Z","dependencies_parsed_at":"2024-11-18T14:20:20.510Z","dependency_job_id":null,"html_url":"https://github.com/alcestide/nixvim","commit_stats":null,"previous_names":["alcestide/nixvim"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alcestide%2Fnixvim","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alcestide%2Fnixvim/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alcestide%2Fnixvim/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alcestide%2Fnixvim/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/alcestide","download_url":"https://codeload.github.com/alcestide/nixvim/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240788773,"owners_count":19857694,"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":["flake","neovim","nix","nix-config","nix-configuration","nix-flake","nixos","nixvim","vim"],"created_at":"2024-11-11T02:05:42.925Z","updated_at":"2025-02-26T03:41:39.474Z","avatar_url":"https://github.com/alcestide.png","language":"Nix","readme":"# ALK's Nixvim Configuration\n[![License](https://img.shields.io/github/license/alcestide/nixvim)](https://en.wikipedia.org/wiki/Unlicense)\n[![Written in Nix](https://img.shields.io/badge/code-nix-blue)](https://nixos.org/)\n[![NixOS Unstable](https://img.shields.io/badge/NixOS-24.05-blue.svg?style=flat-square\u0026logo=NixOS\u0026logoColor=white)](https://nixos.org)\n[![GitHub last commit](https://img.shields.io/github/last-commit/alcestide/nixvim)](#)\n[![Free](https://img.shields.io/badge/free_for_non_commercial_use-brightgreen)](#-license)\n---\n## Testing\n\nYou can **try out** my configuration by running the **following** **command** in your **shell**:\n```nix\nnix run github:alcestide/nixvim\n```\nAlternatively, you could:\n```\ngit clone https://github.com/alcestide/nixvim\n``` \nand then run `nix run .` inside the cloned directory.\n\n![Screenshot_20241027-125629](https://github.com/user-attachments/assets/820ff294-83c8-40bd-ab6f-7e0957c62517)\n\n![Screenshot_20241027-125520](https://github.com/user-attachments/assets/3dffd9d7-f9fa-402f-bb48-312bf88d5090)\n\n![Screenshot_20241027-125535](https://github.com/user-attachments/assets/610fd68e-aacb-4dc9-9e44-59c590401ba1)\n\n## Installation\nTo make this configuration **persistent**, you can either use **flakes** (easier) or the **standalone** method. Here’s how:\n\n### Flakes\n- In your **flake.nix**, create inside `inputs`:\n```nix\n    nixvim = {\n      url = \"github:alcestide/nixvim\";\n    };\n```\nThen simply add it to your **packages** like this:\n```nix\n    inputs.nixvim.packages.\"x86_64-linux\".default\n```\n\n### Standalone\n\n- **Create** a **variable** for your Nixvim **config** **directory** (I put mine inside the **same** directory of `configuration.nix`).\n- **Create** another **variable** and assign to it `nixvim.legacyPackages.\"${pkgs.stdenv.hostPlatform.system}\"` (in this case the variable is named \"**alknix**\", but you can call it as you like).\n- Pass the Nixvim **config** as a **module** to the `makeNixvimWithModule` function as shown below:\n```nix\nlet\n\tnixvim-config = import ./nixvim/config;\nalknixvim = nixvim.legacyPackages.x86_64-linux.makeNixvimWithModule {\n\tinherit pkgs;\n\tmodule = nixvim-config;};\nin\n```\n**Add** the newly created **package** to your `systemPackages` list:\n\n```nix\nenvironment.systemPackages = [\n    alknixvim\n];\n```\n\nFinally, **rebuild** your NixOS configuration by running:\n`sudo nixos-rebuild switch`\nThis should set everything up.\nIf you encounter **issues**:\n\n- Check for version **mismatches** between `nixvim` and `nixpkgs` inside your `flake.nix`. **Make sure they're both the same version!**\n- **Review** the **logs** for any **errors** that might indicate what’s going wrong.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falcestide%2Fnixvim","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falcestide%2Fnixvim","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falcestide%2Fnixvim/lists"}