glados/flake.nix

18 lines
465 B
Nix
Raw Normal View History

2021-11-16 17:30:14 +01:00
{
inputs = {
nixCargoIntegration.url = "github:yusdacra/nix-cargo-integration";
};
2021-12-06 10:49:27 +01:00
outputs = inputs@{ self, nixCargoIntegration, ... }:
(nixCargoIntegration.lib.makeOutputs { root = ./.; }) // {
nixosModules.glados = {
imports = [ ./glados-module.nix ];
config.nixpkgs.overlays = [ self.overlays.glados ];
};
overlays.glados = final: prev: {
glados = self.packages.${final.system}.glados;
};
2021-12-05 11:35:20 +01:00
};
2021-11-16 17:30:14 +01:00
}