commit 77c7fce1c8ef6dedc1b2986745e937b46104960b Author: derped Date: Sat May 4 17:40:22 2024 +0200 Init project flake template. diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..b2be92b --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +result diff --git a/default.nix b/default.nix new file mode 100644 index 0000000..27efb44 --- /dev/null +++ b/default.nix @@ -0,0 +1,7 @@ +{ lib, pkgs }: + +{ + # https://github.com/NixOS/rfcs/pull/166 + formatter = pkgs.nixfmt-rfc-style; + packages = { }; +} diff --git a/flake.nix b/flake.nix new file mode 100644 index 0000000..3af8c26 --- /dev/null +++ b/flake.nix @@ -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; } + ); +}