Init project flake template.

This commit is contained in:
Kevin Baensch 2024-05-04 17:40:22 +02:00
commit 77c7fce1c8
Signed by: derped
GPG key ID: C0F1D326C7626543
3 changed files with 25 additions and 0 deletions

1
.gitignore vendored Normal file
View file

@ -0,0 +1 @@
result

7
default.nix Normal file
View file

@ -0,0 +1,7 @@
{ lib, pkgs }:
{
# https://github.com/NixOS/rfcs/pull/166
formatter = pkgs.nixfmt-rfc-style;
packages = { };
}

17
flake.nix Normal file
View file

@ -0,0 +1,17 @@
{
description = "A Nix wrapper for Neovim+Lazy";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs";
flake-utils.url = "github:numtide/flake-utils";
};
outputs =
{ nixpkgs, flake-utils, ... }:
flake-utils.lib.eachDefaultSystem (
system:
let
pkgs = nixpkgs.legacyPackages."${system}";
lib = nixpkgs.lib;
in
import ./default.nix { inherit pkgs lib; }
);
}