Commit 4a5402a6f986

Vincent Demeester <vincent@sbr.pm>
2019-06-17 17:20:33
profiles.gpg: install gnupg in path
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
1 parent 4838755
Changed files (2)
machines
modules
profiles
machines/okinawa.nix
@@ -2,5 +2,6 @@
   imports = [
     ./base.nix
   ];
+  profiles.gpg.enable = true;
   xdg.configFile."ape.conf".source = ../assets/ape.conf;
 }
modules/profiles/gpg.nix
@@ -1,4 +1,4 @@
-{ config, lib, ... }:
+{ config, lib, pkgs, ... }:
 
 with lib;
 let
@@ -15,6 +15,7 @@ in
     };
   };
   config = mkIf cfg.enable {
+    home.packages = with pkgs; [ gnupg ];
     services = {
       gpg-agent = {
         enable = true;