Get started on trying nix

This commit is contained in:
lol3rrr
2026-05-09 02:10:48 +02:00
parent 897d45711c
commit 2e83ebe012
3 changed files with 50 additions and 0 deletions

22
flake.nix Normal file
View File

@@ -0,0 +1,22 @@
{
description = "A flake for my entire neovim configuration and setup";
inputs = {
nixpkgs.url = "github:nixos/nixpkgs?ref=nixos-unstable";
};
outputs = { self, nixpkgs }:
let
system = "x86_64-linux";
pkgs = nixpkgs.legacyPackages.${system};
in
{
packages.${system}.default = pkgs.neovim;
devShells.${system}.default = pkgs.mkShell {
packages = [
pkgs.neovim
];
};
};
}