mirror of
https://github.com/nix-community/home-manager
synced 2024-12-27 12:19:48 +01:00
keepassx: remove module
This removes the services.keepassx module and all options related to it. This is because KeePassX has been unmaintaned for a long time, and the migration path to KeePassXC is not clear. Note, this package probably hasn't worked for nearly a year since the package was removed from Nixpkgs: https://github.com/NixOS/nixpkgs/pull/216748 Closes #4949 Signed-off-by: Sumner Evans <me@sumnerevans.com>
This commit is contained in:
parent
6359d40f6e
commit
70688f195a
2 changed files with 3 additions and 32 deletions
|
@ -291,7 +291,6 @@ let
|
|||
./services/kanshi.nix
|
||||
./services/kbfs.nix
|
||||
./services/kdeconnect.nix
|
||||
./services/keepassx.nix
|
||||
./services/keybase.nix
|
||||
./services/keynav.nix
|
||||
./services/lieer.nix
|
||||
|
@ -383,6 +382,9 @@ let
|
|||
(mkRemovedOptionModule [ "services" "password-store-sync" ] ''
|
||||
Use services.git-sync instead.
|
||||
'')
|
||||
(mkRemovedOptionModule [ "services" "keepassx" ] ''
|
||||
KeePassX is no longer maintained.
|
||||
'')
|
||||
] ++ optional useNixpkgsModule ./misc/nixpkgs.nix
|
||||
++ optional (!useNixpkgsModule) ./misc/nixpkgs-disabled.nix;
|
||||
|
||||
|
|
|
@ -1,31 +0,0 @@
|
|||
{ config, lib, pkgs, ... }:
|
||||
|
||||
with lib;
|
||||
|
||||
{
|
||||
meta.maintainers = [ maintainers.rycee ];
|
||||
|
||||
options = {
|
||||
services.keepassx = {
|
||||
enable = mkEnableOption "the KeePassX password manager";
|
||||
};
|
||||
};
|
||||
|
||||
config = mkIf config.services.keepassx.enable {
|
||||
assertions = [
|
||||
(hm.assertions.assertPlatform "services.keepassx" pkgs platforms.linux)
|
||||
];
|
||||
|
||||
systemd.user.services.keepassx = {
|
||||
Unit = {
|
||||
Description = "KeePassX password manager";
|
||||
After = [ "graphical-session-pre.target" ];
|
||||
PartOf = [ "graphical-session.target" ];
|
||||
};
|
||||
|
||||
Install = { WantedBy = [ "graphical-session.target" ]; };
|
||||
|
||||
Service = { ExecStart = "${pkgs.keepassx}/bin/keepassx -min -lock"; };
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue