diff --git a/nixpkgs/gnupg.nix b/nixpkgs/gnupg.nix new file mode 100644 index 0000000..ef018bc --- /dev/null +++ b/nixpkgs/gnupg.nix @@ -0,0 +1,14 @@ +{ config, pkgs, ... }:{ + home.packages = with pkgs; [ + pass + gnupg + pinentry-curses + ]; + services = { + # lorri.enable = true; + gpg-agent = { + enable = true; + enableSshSupport = true; + }; + }; +} diff --git a/nixpkgs/home.nix b/nixpkgs/home.nix index 3d412b9..e498319 100644 --- a/nixpkgs/home.nix +++ b/nixpkgs/home.nix @@ -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; - }; }