flake.nix: export paths instead of imported files

This commit is contained in:
Niklas Gollenstede authored and mergify[bot] committed 2024-07-19 15:29:10 +00:00
1 parent bb90787ea0
commit 3501b9c096
1 file changed
+1
+1
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;