{
  config,
  lib,
  namespace,
  ...
}:
let
  inherit (lib.${namespace}) disabled;
in
{

  home.username = "matt";

  sops = {
    age.keyFile = "/home/matt/.config/sops/age/keys.txt";
    defaultSopsFile = "/etc/nixos/secrets/secrets.yaml";
    validateSopsFiles = false;
    secrets = {
      "ssh-keys-public/pi5" = {
        path = "/home/matt/.ssh/id_ed25519.pub";
        mode = "0644";
      };
      "ssh-keys-private/pi5" = {
        path = "/home/matt/.ssh/id_ed25519";
        mode = "0600";
      };
      "ssh-keys-public/jallen-nas" = { };

      "ssh-keys-public/jallen-nas-root" = { };

      "ssh-keys-public/desktop-nixos" = { };

      "ssh-keys-public/desktop-nixos-root" = { };

      "ssh-keys-public/desktop-windows" = { };

      "ssh-keys-public/macbook-macos" = { };
    };

    templates = {
      "authorized_keys" = {
        content = ''
          ${config.sops.placeholder."ssh-keys-public/jallen-nas"}
          ${config.sops.placeholder."ssh-keys-public/jallen-nas-root"}
          ${config.sops.placeholder."ssh-keys-public/desktop-nixos"}
          ${config.sops.placeholder."ssh-keys-public/desktop-nixos-root"}
          ${config.sops.placeholder."ssh-keys-public/macbook-macos"}
        '';
      };
    };
  };

  services = {
    nextcloud-client = lib.mkForce disabled;
    kdeconnect = {
      enable = false;
      indicator = false;
    };
  };
}
