Add assertion for default framework import

This commit is contained in:
Kevin J Hoerr committed 2023-11-11 10:42:55 -05:00
1 parent de0c9310d3
commit 87d3381c78
2 files changed
+39 -4

No files matched your search

+5 -4
View File
@@ -1,7 +1,8 @@
{
# Per original module layout, default framework export was the 11th gen Intel
# of the Framework 13 Laptop
imports = [
./13-inch/11th-gen-intel
assertions = [
{
assertion = false;
message = "Importing framework/ (default.nix) directly is deprecated! See https://github.com/NixOS/nixos-hardware/blob/master/framework/OLD-BEHAVIOUR-DEPRECATED.md for more details.";
}
];
}