Remove pass-secret-service since it breaks dbus env variables

This commit is contained in:
Charlotte Van Petegem 2021-05-01 00:24:51 +02:00
parent f555c2f9ea
commit ad7cda697a
No known key found for this signature in database
GPG key ID: 019E764B7184435A
2 changed files with 22 additions and 19 deletions

View file

@ -10,14 +10,17 @@
''; '';
}; };
config.chvp.zfs.homeLinks = [ config = {
chvp.zfs.homeLinks = [
{ path = ".gnupg/crls.d"; type = "data"; } { path = ".gnupg/crls.d"; type = "data"; }
{ path = ".gnupg/private-keys-v1.d"; type = "data"; } { path = ".gnupg/private-keys-v1.d"; type = "data"; }
{ path = ".gnupg/pubring.kbx"; type = "data"; } { path = ".gnupg/pubring.kbx"; type = "data"; }
{ path = ".gnupg/trustdb.gpg"; type = "data"; } { path = ".gnupg/trustdb.gpg"; type = "data"; }
]; ];
config.programs.gnupg.agent.enable = true; programs.gnupg.agent = {
config.home-manager.users.charlotte = { lib, ... }: { enable = true;
};
home-manager.users.charlotte = { lib, ... }: {
home.activation.fixPermissionsCommands = lib.hm.dag.entryAfter [ "writeBoundary" ] '' home.activation.fixPermissionsCommands = lib.hm.dag.entryAfter [ "writeBoundary" ] ''
mkdir -p /home/charlotte/.gnupg mkdir -p /home/charlotte/.gnupg
chmod u=rwX,go= /home/charlotte/.gnupg chmod u=rwX,go= /home/charlotte/.gnupg
@ -30,4 +33,5 @@
pinentryFlavor = config.chvp.gnupg.pinentryFlavor; pinentryFlavor = config.chvp.gnupg.pinentryFlavor;
}; };
}; };
};
} }

View file

@ -1,4 +1,4 @@
{ ... }: { { lib, ... }: {
nixpkgs.overlays = [ nixpkgs.overlays = [
(self: super: { (self: super: {
pass = (super.pass.override { pass = super.pass-wayland; }).withExtensions (ext: [ ext.pass-otp ]); pass = (super.pass.override { pass = super.pass-wayland; }).withExtensions (ext: [ ext.pass-otp ]);
@ -11,6 +11,5 @@
settings = { PASSWORD_STORE_DIR = "/home/charlotte/repos/passwords"; }; settings = { PASSWORD_STORE_DIR = "/home/charlotte/repos/passwords"; };
}; };
services.password-store-sync.enable = true; services.password-store-sync.enable = true;
services.pass-secret-service.enable = true;
}; };
} }