flake.nix: export paths instead of imported files
This commit is contained in:
parent
bb90787ea0
commit
3501b9c096
|
@ -4,6 +4,7 @@
|
||||||
outputs = _: {
|
outputs = _: {
|
||||||
nixosModules = let
|
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;
|
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 {
|
in {
|
||||||
acer-aspire-4810t = import ./acer/aspire/4810t;
|
acer-aspire-4810t = import ./acer/aspire/4810t;
|
||||||
airis-n990 = import ./airis/n990;
|
airis-n990 = import ./airis/n990;
|
||||||
|
|
Loading…
Reference in a new issue