Remove pass-secret-service since it breaks dbus env variables
This commit is contained in:
parent
f555c2f9ea
commit
ad7cda697a
2 changed files with 22 additions and 19 deletions
|
@ -10,24 +10,28 @@
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
config.chvp.zfs.homeLinks = [
|
config = {
|
||||||
{ path = ".gnupg/crls.d"; type = "data"; }
|
chvp.zfs.homeLinks = [
|
||||||
{ path = ".gnupg/private-keys-v1.d"; type = "data"; }
|
{ path = ".gnupg/crls.d"; type = "data"; }
|
||||||
{ path = ".gnupg/pubring.kbx"; type = "data"; }
|
{ path = ".gnupg/private-keys-v1.d"; type = "data"; }
|
||||||
{ path = ".gnupg/trustdb.gpg"; type = "data"; }
|
{ path = ".gnupg/pubring.kbx"; type = "data"; }
|
||||||
];
|
{ path = ".gnupg/trustdb.gpg"; type = "data"; }
|
||||||
config.programs.gnupg.agent.enable = true;
|
];
|
||||||
config.home-manager.users.charlotte = { lib, ... }: {
|
programs.gnupg.agent = {
|
||||||
home.activation.fixPermissionsCommands = lib.hm.dag.entryAfter [ "writeBoundary" ] ''
|
|
||||||
mkdir -p /home/charlotte/.gnupg
|
|
||||||
chmod u=rwX,go= /home/charlotte/.gnupg
|
|
||||||
'';
|
|
||||||
programs.gpg.enable = true;
|
|
||||||
services.gpg-agent = {
|
|
||||||
enable = true;
|
enable = true;
|
||||||
defaultCacheTtl = 7200;
|
};
|
||||||
maxCacheTtl = 99999;
|
home-manager.users.charlotte = { lib, ... }: {
|
||||||
pinentryFlavor = config.chvp.gnupg.pinentryFlavor;
|
home.activation.fixPermissionsCommands = lib.hm.dag.entryAfter [ "writeBoundary" ] ''
|
||||||
|
mkdir -p /home/charlotte/.gnupg
|
||||||
|
chmod u=rwX,go= /home/charlotte/.gnupg
|
||||||
|
'';
|
||||||
|
programs.gpg.enable = true;
|
||||||
|
services.gpg-agent = {
|
||||||
|
enable = true;
|
||||||
|
defaultCacheTtl = 7200;
|
||||||
|
maxCacheTtl = 99999;
|
||||||
|
pinentryFlavor = config.chvp.gnupg.pinentryFlavor;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -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;
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue