2020-12-30 01:05:51 +00:00
|
|
|
{
|
|
|
|
description = "A neovim configuration system for NixOS";
|
|
|
|
|
2023-06-18 19:26:14 +02:00
|
|
|
inputs = {
|
2024-02-19 22:21:25 +01:00
|
|
|
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
|
2024-07-07 15:29:11 -04:00
|
|
|
|
|
|
|
flake-parts = {
|
|
|
|
url = "github:hercules-ci/flake-parts";
|
|
|
|
inputs.nixpkgs-lib.follows = "nixpkgs";
|
|
|
|
};
|
|
|
|
|
|
|
|
/*
|
|
|
|
# NOTE: The inputs below this comment are optional
|
|
|
|
# You can remove them with `inputs.<input>.follows = ""`
|
|
|
|
|
|
|
|
For example:
|
|
|
|
|
|
|
|
```
|
|
|
|
nixvim = {
|
|
|
|
url = "github:nix-community/nixvim";
|
|
|
|
inputs = {
|
|
|
|
nixpkgs.follows = "nixpkgs";
|
|
|
|
flake-parts.follows = "flake-parts";
|
|
|
|
|
|
|
|
devshell.follows = "";
|
|
|
|
flake-compat.follows = "";
|
|
|
|
git-hooks.follows = "";
|
|
|
|
home-manager.follows = "";
|
|
|
|
nix-darwin.follows = "";
|
|
|
|
treefmt-nix.follows = "";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
```
|
|
|
|
*/
|
|
|
|
|
2024-07-19 20:14:20 +02:00
|
|
|
nuschtosSearch = {
|
|
|
|
url = "github:NuschtOS/search";
|
|
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
};
|
|
|
|
|
2024-01-06 17:31:17 +01:00
|
|
|
home-manager = {
|
|
|
|
url = "github:nix-community/home-manager";
|
|
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
};
|
2024-01-06 18:03:44 +01:00
|
|
|
nix-darwin = {
|
|
|
|
url = "github:lnl7/nix-darwin";
|
|
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
};
|
2020-12-30 01:05:51 +00:00
|
|
|
|
2024-03-01 22:43:05 +01:00
|
|
|
devshell = {
|
|
|
|
url = "github:numtide/devshell";
|
|
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
};
|
2024-05-07 16:45:47 +02:00
|
|
|
treefmt-nix = {
|
|
|
|
url = "github:numtide/treefmt-nix";
|
|
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
};
|
2023-12-06 13:09:26 +01:00
|
|
|
|
2024-02-15 22:51:26 +01:00
|
|
|
flake-compat.url = "https://flakehub.com/f/edolstra/flake-compat/1.tar.gz";
|
|
|
|
|
2024-05-27 09:46:11 +02:00
|
|
|
git-hooks = {
|
|
|
|
url = "github:cachix/git-hooks.nix";
|
2023-06-13 09:39:54 +02:00
|
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
2024-07-07 15:08:33 -04:00
|
|
|
inputs.flake-compat.follows = "flake-compat";
|
2023-06-13 09:39:54 +02:00
|
|
|
};
|
2023-06-18 19:26:14 +02:00
|
|
|
};
|
2023-03-06 15:06:16 +00:00
|
|
|
|
2024-05-30 14:56:05 +02:00
|
|
|
nixConfig = {
|
|
|
|
extra-substituters = [ "https://nix-community.cachix.org" ];
|
|
|
|
extra-trusted-public-keys = [
|
|
|
|
"nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="
|
|
|
|
];
|
2024-07-07 01:49:24 +01:00
|
|
|
allow-import-from-derivation = false;
|
2024-05-30 14:56:05 +02:00
|
|
|
};
|
|
|
|
|
2023-12-06 13:09:26 +01:00
|
|
|
outputs =
|
|
|
|
inputs:
|
|
|
|
inputs.flake-parts.lib.mkFlake { inherit inputs; } {
|
|
|
|
systems = [
|
|
|
|
"x86_64-linux"
|
|
|
|
"aarch64-linux"
|
|
|
|
"x86_64-darwin"
|
|
|
|
"aarch64-darwin"
|
|
|
|
];
|
2023-04-21 10:16:01 +02:00
|
|
|
|
2023-12-06 13:09:26 +01:00
|
|
|
imports = [ ./flake-modules ];
|
|
|
|
};
|
2020-12-30 01:05:51 +00:00
|
|
|
}
|