1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-12-24 10:49:48 +01: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" ]; };
}; };
}; };
} }