1
0
mirror of https://github.com/nix-community/home-manager synced 2024-06-28 09:28:32 +02:00

pass-secret-service: fix systemd unit install option (#1959)

This commit is contained in:
Nicolas Berbiche 2021-04-27 16:17:36 -04:00 committed by GitHub
parent b4e3f069f1
commit d4278212b5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -18,11 +18,11 @@ in {
systemd.user.services.pass-secret-service = { systemd.user.services.pass-secret-service = {
Unit = { Description = "Pass libsecret service"; }; Unit = { Description = "Pass libsecret service"; };
Service = { Service = {
Install = { WantedBy = [ "default.target" ]; };
# pass-secret-service doesn't use environment variables for some reason. # pass-secret-service doesn't use environment variables for some reason.
ExecStart = ExecStart =
"${pkgs.pass-secret-service}/bin/pass_secret_service --path ${config.programs.password-store.settings.PASSWORD_STORE_DIR}"; "${pkgs.pass-secret-service}/bin/pass_secret_service --path ${config.programs.password-store.settings.PASSWORD_STORE_DIR}";
}; };
Install = { WantedBy = [ "default.target" ]; };
}; };
}; };
} }