about summary refs log tree commit diff
path: root/profiles/trusted/default.nix
blob: 927ba4540d168fb9834d7ada3583f0f1db4d828b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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;
  };
}