mirror of
https://github.com/nix-community/home-manager.git
synced 2026-01-12 01:59:37 +08:00
deprecations: add deprecations/removal module
Add a module for consolidating the module level deprecations in an easier to spot location. Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
This commit is contained in:
22
modules/deprecations.nix
Normal file
22
modules/deprecations.nix
Normal file
@@ -0,0 +1,22 @@
|
||||
{ lib, ... }:
|
||||
{
|
||||
imports = [
|
||||
(lib.mkRemovedOptionModule [ "services" "password-store-sync" ] ''
|
||||
Use services.git-sync instead.
|
||||
'')
|
||||
(lib.mkRemovedOptionModule [ "services" "keepassx" ] ''
|
||||
KeePassX is no longer maintained.
|
||||
'')
|
||||
(lib.mkRemovedOptionModule [ "programs" "thefuck" ] ''
|
||||
The corresponding package was removed from nixpkgs,
|
||||
consider using `programs.pay-respects` instead.
|
||||
'')
|
||||
(lib.mkRemovedOptionModule [ "programs" "octant" ] ''
|
||||
Octant is no longer maintained and project was archived.
|
||||
'')
|
||||
(lib.mkRemovedOptionModule [ "services" "barrier" ] ''
|
||||
The corresponding package was removed from nixpkgs,
|
||||
consider using `deskflow` or `input-leap` instead.
|
||||
'')
|
||||
];
|
||||
}
|
||||
Reference in New Issue
Block a user