2025-02-13 10:35:17 -08:00
|
|
|
{
|
|
|
|
description = "Opinionated Nixvim config as a flake";
|
|
|
|
|
|
|
|
inputs = {
|
|
|
|
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
|
|
|
|
|
2025-02-13 11:40:42 -08:00
|
|
|
nixvim = {
|
|
|
|
url = "github:nix-community/nixvim";
|
|
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
2025-02-13 10:35:17 -08:00
|
|
|
};
|
|
|
|
|
2025-02-13 11:40:42 -08:00
|
|
|
};
|
|
|
|
|
|
|
|
outputs = { nixpkgs, ... } @ inputs:
|
|
|
|
let
|
|
|
|
# system = "x86_64-linux";
|
|
|
|
pkgs = import "${nixpkgs}" {
|
|
|
|
# system = "x86_64-linux";
|
|
|
|
};
|
|
|
|
in
|
|
|
|
{
|
2025-02-13 10:35:17 -08:00
|
|
|
nixosModules = rec {
|
2025-02-13 11:40:42 -08:00
|
|
|
nixvim-config = import ./default.nix {
|
|
|
|
inherit inputs;
|
2025-02-13 10:35:17 -08:00
|
|
|
# inherit system;
|
2025-02-13 11:40:42 -08:00
|
|
|
inherit pkgs;
|
2025-02-13 10:35:17 -08:00
|
|
|
};
|
2025-02-13 11:40:42 -08:00
|
|
|
default = nixvim-config;
|
2025-02-13 10:35:17 -08:00
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|