Merge pull request #993 from NixOS/hdd

deprecate commons/hdd
This commit is contained in:
Jörg Thalheim 2024-06-20 13:25:05 +02:00 committed by GitHub
commit 5864256026
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 9 additions and 5 deletions

View file

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

View file

@ -1,8 +1,6 @@
{ lib, ... }: { lib, ... }:
{ {
imports = [ ../../hdd ];
# Hard disk protection if the laptop falls: # Hard disk protection if the laptop falls:
services.hdapsd.enable = lib.mkDefault true; services.hdapsd.enable = lib.mkDefault true;
} }

View file

@ -7,7 +7,6 @@ with lib;
../../../common/pc ../../../common/pc
../../../common/pc/laptop ../../../common/pc/laptop
../../../common/pc/laptop/hdd ../../../common/pc/laptop/hdd
../../../common/pc/hdd
./network.nix ./network.nix
]; ];

View file

@ -7,7 +7,6 @@ with lib;
../../../common/pc ../../../common/pc
../../../common/pc/laptop ../../../common/pc/laptop
../../../common/pc/laptop/hdd ../../../common/pc/laptop/hdd
../../../common/pc/hdd
]; ];
config = { config = {