mirror of
				https://github.com/NixOS/nixos-hardware.git
				synced 2025-11-04 17:27:14 +08:00 
			
		
		
		
	deprecate commons/hdd module
We havent't had anything meaningful configuration in this module for a while. So let's deprecate it.
This commit is contained in:
		@@ -1 +1,9 @@
 | 
			
		||||
{}
 | 
			
		||||
{
 | 
			
		||||
  warnings = [
 | 
			
		||||
    ''
 | 
			
		||||
      DEPRECATED: The <nixos-hardware/common/hdd.nix> module has been deprecated.
 | 
			
		||||
 | 
			
		||||
      This module has no effect and will be removed in a future release.
 | 
			
		||||
    ''
 | 
			
		||||
  ];
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
@@ -1,8 +1,6 @@
 | 
			
		||||
{ lib, ... }:
 | 
			
		||||
 | 
			
		||||
{
 | 
			
		||||
  imports = [ ../../hdd ];
 | 
			
		||||
 | 
			
		||||
  # Hard disk protection if the laptop falls:
 | 
			
		||||
  services.hdapsd.enable = lib.mkDefault true;
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user