2022-07-22 20:42:05 +00:00
|
|
|
{
|
|
|
|
inputs = {
|
2022-08-16 19:14:35 +00:00
|
|
|
impermanence.url = "github:nix-community/impermanence";
|
2022-12-02 16:55:53 +00:00
|
|
|
nixpkgs.url = "github:NixOS/nixpkgs/nixos-22.11";
|
2023-05-02 11:50:13 +00:00
|
|
|
nixpkgs-unstable.url = "github:NixOS/nixpkgs/nixos-unstable";
|
2022-10-22 13:52:08 +00:00
|
|
|
nur.url = "github:nix-community/NUR";
|
2022-08-16 19:14:35 +00:00
|
|
|
|
2022-08-22 18:32:26 +00:00
|
|
|
agenix = {
|
|
|
|
url = "github:ryantm/agenix";
|
|
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
};
|
|
|
|
|
2022-08-25 17:34:17 +00:00
|
|
|
cmp-conventionalcommits = {
|
|
|
|
url = "github:davidsierradz/cmp-conventionalcommits";
|
|
|
|
flake = false;
|
|
|
|
};
|
|
|
|
|
2022-08-25 16:57:02 +00:00
|
|
|
cmp-git = {
|
|
|
|
url = "github:petertriho/cmp-git";
|
|
|
|
flake = false;
|
|
|
|
};
|
|
|
|
|
2023-04-03 16:40:02 +00:00
|
|
|
copilot-cmp = {
|
|
|
|
url = "github:zbirenbaum/copilot-cmp";
|
|
|
|
flake = false;
|
|
|
|
};
|
|
|
|
|
|
|
|
copilot-lua = {
|
|
|
|
url = "github:zbirenbaum/copilot.lua";
|
|
|
|
flake = false;
|
|
|
|
};
|
|
|
|
|
2023-01-17 08:50:03 +00:00
|
|
|
gh-nvim = {
|
|
|
|
url = "github:ldelossa/gh.nvim";
|
|
|
|
flake = false;
|
|
|
|
};
|
|
|
|
|
2022-07-22 20:42:05 +00:00
|
|
|
home-manager = {
|
2022-12-02 16:55:53 +00:00
|
|
|
url = "github:nix-community/home-manager/release-22.11";
|
2022-07-22 20:42:05 +00:00
|
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
};
|
2023-01-11 15:55:23 +00:00
|
|
|
|
2023-03-10 21:11:36 +00:00
|
|
|
nvim-cmp-vlime = {
|
|
|
|
url = "gitlab:HiPhish/nvim-cmp-vlime";
|
|
|
|
flake = false;
|
|
|
|
};
|
|
|
|
|
2023-01-11 15:55:23 +00:00
|
|
|
# work around for nixpkgs version being too old
|
|
|
|
rust-tools-nvim = {
|
|
|
|
url = "github:simrat39/rust-tools.nvim";
|
|
|
|
flake = false;
|
|
|
|
};
|
2023-03-06 12:29:44 +00:00
|
|
|
|
|
|
|
vlime = {
|
|
|
|
url = "github:vlime/vlime";
|
|
|
|
flake = false;
|
|
|
|
};
|
2022-07-22 20:42:05 +00:00
|
|
|
};
|
|
|
|
|
2023-05-02 11:50:13 +00:00
|
|
|
outputs = {nixpkgs, nixpkgs-unstable, ...} @ args: {
|
|
|
|
nixosConfigurations.fanya =
|
|
|
|
let
|
2022-07-22 20:42:05 +00:00
|
|
|
system = "x86_64-linux";
|
2023-05-02 11:50:13 +00:00
|
|
|
overlay-unstable = final: prev: {
|
|
|
|
unstable = nixpkgs-unstable.legacyPackages.${prev.system};
|
|
|
|
};
|
|
|
|
in
|
|
|
|
nixpkgs.lib.nixosSystem {
|
|
|
|
inherit system;
|
2022-07-22 20:42:05 +00:00
|
|
|
specialArgs = args;
|
2023-03-06 12:24:11 +00:00
|
|
|
modules = [
|
|
|
|
./fanya.nix
|
|
|
|
|
2023-05-02 11:50:13 +00:00
|
|
|
(_: {nixpkgs.overlays = [(import ./overlay) overlay-unstable];})
|
2023-03-06 12:24:11 +00:00
|
|
|
];
|
2022-07-22 20:42:05 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|