feat: +checks flake output

This commit is contained in:
2025-11-03 19:02:42 +00:00
parent e3167ce6e5
commit 43dc59a04f
8 changed files with 154 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
{ self, inputs, system, ... }: let
mkSys = system: opts:
(inputs.nixpkgs.lib.nixosSystem {
inherit system;
modules = [
self.nixosModules.hectic
{ hectic.hardware.lenovo-ideapad-15arh7 = opts; }
];
});
cases = {
#enable = { enable = true; };
#disabled = { enable = false; };
#customFoo = { enable = true; foo = "bar"; };
};
in inputs.nixpkgs.lib.mapAttrs
(name: opts: (mkSys system opts).config.system.build.toplevel) cases