mirror of
https://github.com/NixOS/nixos-hardware.git
synced 2026-12-05 07:23:29 +01: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 parent
acb4f0e9bf
commit
56e370b342
4 files changed
+9
-5
No files matched your search
@@ -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, ... }:
|
{ 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;
|
||||||
}
|
}
|
||||||
@@ -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
|
||||||
];
|
];
|
||||||
|
|||||||
@@ -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 = {
|
||||||
|
|||||||
Reference in new issue
Block a user