feat: +checks flake output
This commit is contained in:
0
test/hardware/default.nix
Normal file
0
test/hardware/default.nix
Normal file
17
test/hardware/lenovo-ideapad-15arh7.nix
Normal file
17
test/hardware/lenovo-ideapad-15arh7.nix
Normal 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
|
||||
Reference in New Issue
Block a user