nixos-config/flake.nix

24 lines
674 B
Nix
Raw Normal View History

2021-05-22 16:31:41 +00:00
{
2021-05-22 17:04:06 +00:00
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
2021-05-22 17:42:43 +00:00
neovim-overlay.url = "github:nix-community/neovim-nightly-overlay";
neovim-overlay.inputs.nixpkgs.follows = "nixpkgs";
2021-05-22 17:04:06 +00:00
};
2021-05-22 17:42:43 +00:00
outputs = { self, nixpkgs, neovim-overlay, ... }: {
2021-05-22 17:12:22 +00:00
nixosConfigurations = let
2021-05-22 17:42:43 +00:00
neovimOverlay = { pkgs, ... }: { nixpkgs.overlays = [ neovim-overlay.overlay ]; };
2021-05-22 17:12:22 +00:00
in {
petalius = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
modules = [ ./petalius.nix neovimOverlay ];
};
2021-05-22 17:24:11 +00:00
flammea = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
modules = [ ./flammea.nix neovimOverlay ];
};
2021-05-22 17:04:06 +00:00
};
2021-05-22 16:31:41 +00:00
};
}