rice/flake.nix

89 lines
1.9 KiB
Nix
Raw Normal View History

2022-07-22 20:42:05 +00:00
{
inputs = {
2022-08-16 19:14:35 +00:00
impermanence.url = "github:nix-community/impermanence";
2023-06-12 10:09:54 +00:00
nixpkgs.url = "github:NixOS/nixpkgs/nixos-23.05";
2023-05-02 11:50:13 +00:00
nixpkgs-unstable.url = "github:NixOS/nixpkgs/nixos-unstable";
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";
};
2023-06-20 09:37:09 +00:00
apl386 = {
url = "github:abrudz/APL386";
flake = false;
};
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 = {
2023-06-12 10:09:54 +00:00
url = "github:nix-community/home-manager/release-23.05";
2022-07-22 20:42:05 +00:00
inputs.nixpkgs.follows = "nixpkgs";
};
2023-03-10 21:11:36 +00:00
nvim-cmp-vlime = {
url = "gitlab:HiPhish/nvim-cmp-vlime";
flake = false;
};
# 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
2023-06-12 09:01:49 +00:00
vim-hy = {
url = "github:hylang/vim-hy";
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-06-20 09:37:09 +00:00
(_: {nixpkgs.overlays = [(import ./overlay args) overlay-unstable];})
2023-03-06 12:24:11 +00:00
];
2022-07-22 20:42:05 +00:00
};
};
}