trying out nix

This commit is contained in:
snarmph 2026-02-18 14:32:37 +01:00
commit 65bd68a260
18 changed files with 1217 additions and 0 deletions

19
flake.nix Normal file
View file

@ -0,0 +1,19 @@
{
description = "Personal neovim configuration";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
};
outputs = { self, nixpkgs, ... }:
let
system = "x86_64-linux";
pkgs = import nixpkgs { inherit system; };
in {
packages.${system}.nvimConfig = pkgs.runCommand "nvim-config" {} ''
mkdir -p $out
cp -r ${self}/. $out
''
};
}