mirror of
				https://github.com/NixOS/nixos-hardware.git
				synced 2025-11-04 09:17:14 +08:00 
			
		
		
		
	"old" --> "deprecated"
This commit is contained in:
		@@ -194,8 +194,8 @@ See code for all available configurations.
 | 
				
			|||||||
| [MSI GS60 2QE](msi/gs60)                                            | `<nixos-hardware/msi/gs60>`                        |
 | 
					| [MSI GS60 2QE](msi/gs60)                                            | `<nixos-hardware/msi/gs60>`                        |
 | 
				
			||||||
| [MSI GL62/CX62](msi/gl62)                                           | `<nixos-hardware/msi/gl62>`                        |
 | 
					| [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 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 (Deprecated)](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/deprecated)| `<nixos-hardware/microsoft/surface/deprecated>`    |
 | 
				
			||||||
| [Omen en00015p](omen/en00015p)                                      | `<nixos-hardware/omen/en00015p>`                   |
 | 
					| [Omen en00015p](omen/en00015p)                                      | `<nixos-hardware/omen/en00015p>`                   |
 | 
				
			||||||
| [One-Netbook OneNetbook 4](onenetbook/4)                            | `<nixos-hardware/onenetbook/4>`                    |
 | 
					| [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>`       |
 | 
					| [Panasonic Let's Note CF-LX4 ](panasonic/letsnote/cf-lx4)           | `<nixos-hardware/panasonic/letsnote/cf-lx4>`       |
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -131,7 +131,7 @@
 | 
				
			|||||||
      lenovo-yoga-6-13ALC6 = import ./lenovo/yoga/6/13ALC6;
 | 
					      lenovo-yoga-6-13ALC6 = import ./lenovo/yoga/6/13ALC6;
 | 
				
			||||||
      letsnote-cf-lx4 = import ./panasonic/letsnote/cf-lx4;
 | 
					      letsnote-cf-lx4 = import ./panasonic/letsnote/cf-lx4;
 | 
				
			||||||
      microsoft-surface = import ./microsoft/surface;
 | 
					      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;
 | 
					      microsoft-surface-pro-3 = import ./microsoft/surface-pro/3;
 | 
				
			||||||
      msi-gs60 = import ./msi/gs60;
 | 
					      msi-gs60 = import ./msi/gs60;
 | 
				
			||||||
      msi-gl62 = import ./msi/gl62;
 | 
					      msi-gl62 = import ./msi/gl62;
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -33,12 +33,12 @@ Tools / services that are shared among several models are now extracted to their
 | 
				
			|||||||
`common/` and imported by `common/default.nix`.
 | 
					`common/` and imported by `common/default.nix`.
 | 
				
			||||||
These new "common" modules now have an `enable` option, which is `false` by default.
 | 
					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.
 | 
					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.
 | 
					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.
 | 
					This warning will probably change to a fail assertion at some point in the future.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@@ -1,6 +1,6 @@
 | 
				
			|||||||
# NOTE: Structure changes from 2023-01-10
 | 
					# 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!
 | 
					the code might affect you!
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# Derivatives for Microsoft Surface notebooks
 | 
					# Derivatives for Microsoft Surface notebooks
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -7,6 +7,6 @@ in {
 | 
				
			|||||||
  imports = [
 | 
					  imports = [
 | 
				
			||||||
    ( warn
 | 
					    ( warn
 | 
				
			||||||
      "Please do not import microsoft/surface/ (default.nix) directly; use microsoft/surface/old or see microsoft/surface/old/README.md for more details."
 | 
					      "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 )
 | 
				
			||||||
  ];
 | 
					  ];
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user