Skip to content

Commit

Permalink
Merge pull request #993 from NixOS/hdd
Browse files Browse the repository at this point in the history
deprecate commons/hdd
  • Loading branch information
Mic92 authored Jun 20, 2024
2 parents acb4f0e + 56e370b commit 5864256
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 5864256

Please sign in to comment.