1
0
Fork 0
mirror of https://github.com/nix-community/nixvim.git synced 2025-12-02 15:11:05 +01:00
nixvim/flake.nix
Matt Sturgeon aab92fcc99 flake: explicitly configure commit-lock-file-summary
Sets `nixConfig.commit-lock-file-summary` to "flake: Update", matching
the default used by `ci/update`. This ensures consistency when running
`nix flake update --commit-lock-file` or `nix flake lock --commit-lock-file`
manually.

Note: manual updates are discouraged. The `nix-build ci -A update`
script should be used to update flakes. This ensures both root and dev
lockfiles — as well as `version-info.toml` — are kept in sync.
2025-11-30 21:23:19 +00:00

35 lines
876 B
Nix

{
description = "A neovim configuration system for NixOS";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
systems.url = "github:nix-systems/default";
flake-parts = {
url = "github:hercules-ci/flake-parts";
inputs.nixpkgs-lib.follows = "nixpkgs";
};
nuschtosSearch = {
url = "github:NuschtOS/search";
inputs.nixpkgs.follows = "nixpkgs";
};
};
nixConfig = {
commit-lock-file-summary = "flake: Update";
extra-substituters = [ "https://nix-community.cachix.org" ];
extra-trusted-public-keys = [
"nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="
];
allow-import-from-derivation = false;
};
outputs =
inputs:
inputs.flake-parts.lib.mkFlake { inherit inputs; } {
systems = import inputs.systems;
imports = [ ./flake ];
};
}