rice/flake.nix

106 lines
2.3 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-07-17 20:37:53 +00:00
nixos-hardware.url = "github:NixOS/nixos-hardware";
2023-05-02 11:50:13 +00:00
nixpkgs-unstable.url = "github:NixOS/nixpkgs/nixos-unstable";
2023-07-17 20:37:53 +00:00
nixpkgs.url = "github:NixOS/nixpkgs/nixos-23.05";
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-07-03 09:54:21 +00:00
outputs = {
agenix,
home-manager,
nur,
2023-07-03 09:54:21 +00:00
nixpkgs-unstable,
nixpkgs,
2023-07-03 09:54:21 +00:00
...
} @ args: {
nixosConfigurations = let
mkSystem = system: module:
nixpkgs.lib.nixosSystem {
inherit system;
specialArgs = args;
modules = let
overlay-unstable = final: prev: {
unstable = nixpkgs-unstable.legacyPackages.${prev.system};
};
in [
module
2023-03-06 12:24:11 +00:00
agenix.nixosModules.default
home-manager.nixosModule
nur.nixosModules.nur
./common.nix
./impermanence.nix
./system.nix
(_: {nixpkgs.overlays = [(import ./overlay args) overlay-unstable];})
];
};
in {
alice = mkSystem "x86_64-linux" ./alice;
fanya = mkSystem "x86_64-linux" ./fanya;
};
2022-07-22 20:42:05 +00:00
};
}