nixos-config/flake.nix
2021-05-22 19:12:22 +02:00

20 lines
520 B
Nix

{
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
neovim-flake.url = "github:neovim/neovim?dir=contrib";
neovim-flake.inputs.nixpkgs.follows = "nixpkgs";
};
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 ];
};
};
};
}