feat: add package.sealme and overlay
This commit is contained in:
parent
7525654ad3
commit
f2c2be56b7
1 changed files with 9 additions and 0 deletions
|
@ -11,9 +11,11 @@
|
||||||
outputs = inputs @ {flake-parts, ...}:
|
outputs = inputs @ {flake-parts, ...}:
|
||||||
flake-parts.lib.mkFlake {inherit inputs;} {
|
flake-parts.lib.mkFlake {inherit inputs;} {
|
||||||
imports = [
|
imports = [
|
||||||
|
inputs.flake-parts.flakeModules.easyOverlay
|
||||||
inputs.treefmt-nix.flakeModule
|
inputs.treefmt-nix.flakeModule
|
||||||
];
|
];
|
||||||
systems = ["x86_64-linux" "aarch64-linux" "aarch64-darwin" "x86_64-darwin"];
|
systems = ["x86_64-linux" "aarch64-linux" "aarch64-darwin" "x86_64-darwin"];
|
||||||
|
|
||||||
perSystem = {
|
perSystem = {
|
||||||
config,
|
config,
|
||||||
self',
|
self',
|
||||||
|
@ -38,6 +40,8 @@
|
||||||
modules = ./gomod2nix.toml;
|
modules = ./gomod2nix.toml;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
packages.sealme = config.packages.default;
|
||||||
|
|
||||||
treefmt = {
|
treefmt = {
|
||||||
projectRootFile = ".git/config";
|
projectRootFile = ".git/config";
|
||||||
programs = {
|
programs = {
|
||||||
|
@ -54,7 +58,12 @@
|
||||||
gomod2nix
|
gomod2nix
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
overlayAttrs = {
|
||||||
|
inherit (config.packages) sealme;
|
||||||
};
|
};
|
||||||
|
};
|
||||||
|
|
||||||
flake = {
|
flake = {
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue