Add pass and pass-secret-service, with gpg

This commit is contained in:
Evie Litherland-Smith 2023-08-28 12:19:43 +01:00
parent 20129bc73d
commit 7d72eda97b
4 changed files with 18 additions and 1 deletions

View file

@ -2,6 +2,7 @@
{
imports = [
./pass
./git
./ssh
./tui

View file

@ -31,6 +31,7 @@ in {
];
home.packages = with pkgs; [ libsForQt5.polkit-kde-agent configure-gtk ];
programs = {
password-store.package = pkgs.pass-wayland;
firefox.package = pkgs.firefox-wayland;
rofi = {
package = pkgs.rofi-wayland;

12
home/pass/default.nix Normal file
View file

@ -0,0 +1,12 @@
{ ... }:
{
programs = {
gpg.enable = true;
password-store = {
enable = true;
settings.PASSWORD_STORE_DIR = "$HOME/.password-store";
};
};
services.gpg-agent.enable = true;
}

View file

@ -25,7 +25,10 @@ in
};
};
networking.networkmanager.enable = true;
services.power-profiles-daemon.enable = true;
services = {
power-profiles-daemon.enable = true;
passSecretService.enable = true;
};
virtualisation.podman.enable = true;
programs = { ${shell}.enable = true; };
# Set your time zone.