Skip to content

Commit

Permalink
deprecate commons/hdd module
Browse files Browse the repository at this point in the history
We havent't had anything meaningful configuration in this module for a while.
So let's deprecate it.
  • Loading branch information
Mic92 committed Jun 20, 2024
1 parent acb4f0e commit 56e370b
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 5 deletions.
10 changes: 9 additions & 1 deletion common/pc/hdd/default.nix
Original file line number Diff line number Diff line change
@@ -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.
''
];
}
2 changes: 0 additions & 2 deletions common/pc/laptop/hdd/default.nix
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
{ lib, ... }:

{
imports = [ ../../hdd ];

# Hard disk protection if the laptop falls:
services.hdapsd.enable = lib.mkDefault true;
}
1 change: 0 additions & 1 deletion hp/elitebook/2560p/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ with lib;
../../../common/pc
../../../common/pc/laptop
../../../common/pc/laptop/hdd
../../../common/pc/hdd

./network.nix
];
Expand Down
1 change: 0 additions & 1 deletion hp/notebook/14-df0023/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ with lib;
../../../common/pc
../../../common/pc/laptop
../../../common/pc/laptop/hdd
../../../common/pc/hdd
];

config = {
Expand Down

0 comments on commit 56e370b

Please sign in to comment.