nixos-config/flake.nix

20 lines
520 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";
neovim-flake.url = "github:neovim/neovim?dir=contrib";
neovim-flake.inputs.nixpkgs.follows = "nixpkgs";
};
2021-05-22 17:12:22 +00:00
outputs = { self, nixpkgs, neovim-flake, ... }: {
nixosConfigurations = let
neovimOverlay = { pkgs, ... }: { nixpkgs.overlays = [ neovim-flake.overlay ]; };
in {
petalius = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
modules = [ ./petalius.nix neovimOverlay ];
};
2021-05-22 17:04:06 +00:00
};
2021-05-22 16:31:41 +00:00
};
}