ADD : gnupg.nix for pass, pinentry and gnupg. Load gpg agent and define gpg config
This commit is contained in:
parent
cc815afb96
commit
89a5a3cb66
|
@ -0,0 +1,14 @@
|
|||
{ config, pkgs, ... }:{
|
||||
home.packages = with pkgs; [
|
||||
pass
|
||||
gnupg
|
||||
pinentry-curses
|
||||
];
|
||||
services = {
|
||||
# lorri.enable = true;
|
||||
gpg-agent = {
|
||||
enable = true;
|
||||
enableSshSupport = true;
|
||||
};
|
||||
};
|
||||
}
|
|
@ -1,20 +1,11 @@
|
|||
{ pkgs, ... }: {
|
||||
imports = [
|
||||
./packages.nix
|
||||
./gnupg.nix
|
||||
./git.nix
|
||||
];
|
||||
home.keyboard = {
|
||||
layout = "fr";
|
||||
variant = "bepo";
|
||||
};
|
||||
environment.variables = let
|
||||
apps = (import ./variables.nix).apps;
|
||||
in
|
||||
{
|
||||
EDITOR = apps.EDITOR;
|
||||
VISUAL = apps.EDITOR;
|
||||
TERMINAL = apps.TERMINAL;
|
||||
BROWSER = apps.BROWSER;
|
||||
PRIVATE_BROWSER = apps.PRIVATE_BROWSER;
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue