From ab204364dfeefc4069a37e1070ee8009f34ecf4d Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Fri, 8 Apr 2022 08:31:15 -0700 Subject: profiles: create a few new profiles --- profiles/trusted/default.nix | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 profiles/trusted/default.nix (limited to 'profiles/trusted') diff --git a/profiles/trusted/default.nix b/profiles/trusted/default.nix new file mode 100644 index 0000000..9567ddb --- /dev/null +++ b/profiles/trusted/default.nix @@ -0,0 +1,16 @@ +{ config, lib, ... }: +let cfg = config.my.profiles.trusted; +in { + options.my.profiles.trusted = with lib; { + enable = mkEnableOption "trusted profile"; + }; + config = lib.mkIf cfg.enable { + my.home.gpg = { + enable = true; + pinentry = "gnome3"; + defaultKey = "23348B57F01D4234B5CFBA0923208AC01EB6EEA1"; + }; + my.home.mail.enable = true; + my.home.pass.enable = true; + }; +} -- cgit 1.4.1