···7878 ssh.enable = mkDefault true;
7979 ssh.extraConfig = "IdentityAgent ${config.home.homeDirectory}/.1password/agent.sock";
8080 };
8181+8282+ # Some tools like Jujutsu don't care about ~/.ssh/config, so we have to set this manually
8383+ home.sessionVariables.SSH_AUTH_SOCK = "${config.home.homeDirectory}/.1password/agent.sock";
8184 };
8285}
+5
roles/base/default.nix
···2929 example = "Cave Johnson";
3030 description = "The primary user's full name.";
3131 };
3232+ publicKey = mkOption {
3333+ type = types.nullOr types.str;
3434+ default = null;
3535+ description = "The primary user's public key.";
3636+ };
32373338 canSudo = mkEnableOption "admin permissions for the primary user";
3439 };