commit 4a5402a6f98684e362aaba1e7b4d4b745ff943e6
parent 48387558f2956b8cdb1f224af8697581d96d76a3
Author: Vincent Demeester <vincent@sbr.pm>
Date: Mon, 17 Jun 2019 17:20:33 +0200
profiles.gpg: install gnupg in path
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
Diffstat:
2 files changed, 3 insertions(+), 1 deletion(-)
diff --git a/machines/okinawa.nix b/machines/okinawa.nix
@@ -2,5 +2,6 @@
imports = [
./base.nix
];
+ profiles.gpg.enable = true;
xdg.configFile."ape.conf".source = ../assets/ape.conf;
}
diff --git a/modules/profiles/gpg.nix b/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;