Init project flake template.
This commit is contained in:
commit
77c7fce1c8
3 changed files with 25 additions and 0 deletions
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
|
@ -0,0 +1 @@
|
||||||
|
result
|
7
default.nix
Normal file
7
default.nix
Normal 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
17
flake.nix
Normal 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; }
|
||||||
|
);
|
||||||
|
}
|
Loading…
Reference in a new issue