feat: add package.sealme and overlay

This commit is contained in:
Bastien Riviere 2023-09-03 18:34:56 +02:00
parent 7525654ad3
commit f2c2be56b7
Signed by: babariviere
GPG key ID: 4E5F0839249F162E

View file

@ -11,9 +11,11 @@
outputs = inputs @ {flake-parts, ...}:
flake-parts.lib.mkFlake {inherit inputs;} {
imports = [
inputs.flake-parts.flakeModules.easyOverlay
inputs.treefmt-nix.flakeModule
];
systems = ["x86_64-linux" "aarch64-linux" "aarch64-darwin" "x86_64-darwin"];
perSystem = {
config,
self',
@ -38,6 +40,8 @@
modules = ./gomod2nix.toml;
};
packages.sealme = config.packages.default;
treefmt = {
projectRootFile = ".git/config";
programs = {
@ -54,7 +58,12 @@
gomod2nix
];
};
overlayAttrs = {
inherit (config.packages) sealme;
};
};
flake = {
};
};