mirror of
https://github.com/NixOS/nixos-hardware
synced 2024-11-09 12:39:40 +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:
parent
acb4f0e9bf
commit
56e370b342
4 changed files with 9 additions and 5 deletions
|
@ -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 = {
|
||||||
|
|
Loading…
Reference in a new issue