about summary refs log tree commit diff
path: root/profiles/trusted
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--profiles/trusted/default.nix22
1 files changed, 22 insertions, 0 deletions
diff --git a/profiles/trusted/default.nix b/profiles/trusted/default.nix
new file mode 100644
index 0000000..927ba45
--- /dev/null
+++ b/profiles/trusted/default.nix
@@ -0,0 +1,22 @@
+{ config, lib, ... }:
+let
+  cfg = config.my.profiles.trusted;
+  isEnabled = config.my.home.wm.windowManager == "sway";
+in {
+  options.my.profiles.trusted = with lib; {
+    enable = mkEnableOption "trusted profile";
+  };
+  config = lib.mkIf cfg.enable {
+    my.home.ssh.enable = true;
+    my.home.gpg = {
+      enable = true;
+      pinentry = "gnome3";
+      defaultKey = "23348B57F01D4234B5CFBA0923208AC01EB6EEA1";
+    };
+    my.home.gcloud.enable = true;
+    my.home.mail.enable = true;
+    my.home.pass.enable = true;
+    my.home.seahorse.enable = isEnabled;
+    my.services.syncthing.enable = true;
+  };
+}