1
0
Fork 0
mirror of https://github.com/NixOS/nixos-hardware synced 2024-09-19 21:07:23 +02: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:
Jörg Thalheim 2024-06-20 12:08:04 +02:00
parent acb4f0e9bf
commit 56e370b342
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 = {