pass: Make secret service conditional on GUI
This commit is contained in:
parent
3884dd4a5e
commit
c2018b9675
|
@ -2,7 +2,7 @@
|
|||
#
|
||||
# SPDX-License-Identifier: AGPL-3.0-or-later
|
||||
|
||||
{ config, pkgs, ... }:
|
||||
{ config, lib, nixosConfig, pkgs, ... }:
|
||||
{
|
||||
programs.password-store = {
|
||||
enable = true;
|
||||
|
@ -20,7 +20,7 @@
|
|||
browsers = [ "librewolf" ];
|
||||
};
|
||||
|
||||
services.pass-secret-service = {
|
||||
services.pass-secret-service = lib.mkIf nixosConfig.sbruder.gui.enable {
|
||||
enable = true;
|
||||
storePath = "${config.xdg.dataHome}/secret-service-password-store";
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue