1
0
Fork 0
mirror of https://github.com/NixOS/nixos-hardware synced 2024-11-30 06:49:43 +01:00

"old" --> "deprecated"

This commit is contained in:
mexisme 2023-01-10 22:32:40 +13:00
parent 1e0872458b
commit 157a74d8a4
6 changed files with 8 additions and 8 deletions

View file

@ -194,8 +194,8 @@ See code for all available configurations.
| [MSI GS60 2QE](msi/gs60) | `<nixos-hardware/msi/gs60>` |
| [MSI GL62/CX62](msi/gl62) | `<nixos-hardware/msi/gl62>` |
| [Microsoft Surface Pro 3](microsoft/surface-pro/3) | `<nixos-hardware/microsoft/surface-pro/3>` |
| [Microsoft Surface Range (Deprecated version)](microsoft/surface) | `<nixos-hardware/microsoft/surface>` |
| [Microsoft Surface Range (Old Behaviour)](microsoft/surface/old) | `<nixos-hardware/microsoft/surface/old>` |
| [Microsoft Surface Range (Deprecated)](microsoft/surface) | `<nixos-hardware/microsoft/surface>` |
| [Microsoft Surface Range (Deprecated)](microsoft/surface/deprecated)| `<nixos-hardware/microsoft/surface/deprecated>` |
| [Omen en00015p](omen/en00015p) | `<nixos-hardware/omen/en00015p>` |
| [One-Netbook OneNetbook 4](onenetbook/4) | `<nixos-hardware/onenetbook/4>` |
| [Panasonic Let's Note CF-LX4 ](panasonic/letsnote/cf-lx4) | `<nixos-hardware/panasonic/letsnote/cf-lx4>` |

View file

@ -131,7 +131,7 @@
lenovo-yoga-6-13ALC6 = import ./lenovo/yoga/6/13ALC6;
letsnote-cf-lx4 = import ./panasonic/letsnote/cf-lx4;
microsoft-surface = import ./microsoft/surface;
microsoft-surface-old-behaviour = import ./microsoft/surface/old;
microsoft-surface-deprecated = import ./microsoft/surface/deprecated;
microsoft-surface-pro-3 = import ./microsoft/surface-pro/3;
msi-gs60 = import ./msi/gs60;
msi-gl62 = import ./msi/gl62;

View file

@ -33,12 +33,12 @@ Tools / services that are shared among several models are now extracted to their
`common/` and imported by `common/default.nix`.
These new "common" modules now have an `enable` option, which is `false` by default.
### "Old Behaviour" module
### "Deprecated Behaviour" module
The original `./default.nix` module has been replaced by a new `old/` module, which replicates the
The original `./default.nix` module has been replaced by a new `deprecated/` module, which replicates the
original behaviour.
The new `./default.nix` will load the new `old/` module, but will also pop-up a warning asking users
The new `./default.nix` will load the new `deprecated/` module, but will also pop-up a warning asking users
to update how they use the microsoft/surface profile from now on.
This warning will probably change to a fail assertion at some point in the future.

View file

@ -1,6 +1,6 @@
# NOTE: Structure changes from 2023-01-10
Please read the [Old Behaviour README](./old/README.md) to understand how some structural changes to
Please read the [Deprecated Behaviour README](./deprecated/README.md) to understand how some structural changes to
the code might affect you!
# Derivatives for Microsoft Surface notebooks

View file

@ -7,6 +7,6 @@ in {
imports = [
( warn
"Please do not import microsoft/surface/ (default.nix) directly; use microsoft/surface/old or see microsoft/surface/old/README.md for more details."
./old )
./deprecated )
];
}