Add assertion for default framework import

This commit is contained in:
Kevin J Hoerr 2023-11-10 16:10:54 -05:00
parent de0c9310d3
commit 87d3381c78
No known key found for this signature in database
GPG key ID: 545818BE629C7D95
2 changed files with 39 additions and 4 deletions

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.";
}
];
}