1
0
Fork 0
mirror of https://github.com/NixOS/nixos-hardware synced 2024-11-23 03:19:42 +01:00

flake.nix: export paths instead of imported files

This commit is contained in:
Niklas Gollenstede 2024-07-18 00:14:16 +02:00 committed by mergify[bot]
parent bb90787ea0
commit 3501b9c096

View file

@ -4,6 +4,7 @@
outputs = _: {
nixosModules = let
deprecated = issue: name: value: builtins.trace "warning: ${name} flake output is deprecated and will be removed. See https://github.com/NixOS/nixos-hardware/issues/${issue} for more information" value;
import = path: path; # let the module system know what we are exporting
in {
acer-aspire-4810t = import ./acer/aspire/4810t;
airis-n990 = import ./airis/n990;